mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:59 +02:00
Use unrestrictive umask for challenge directory
This commit is contained in:
@@ -168,7 +168,9 @@ class ApacheHttp01(common.ChallengePerformer):
|
||||
|
||||
def _set_up_challenges(self):
|
||||
if not os.path.isdir(self.challenge_dir):
|
||||
old_umask = os.umask(0o022)
|
||||
filesystem.makedirs(self.challenge_dir, 0o755)
|
||||
os.umask(old_umask)
|
||||
|
||||
responses = []
|
||||
for achall in self.achalls:
|
||||
|
||||
Reference in New Issue
Block a user