mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:14:54 +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):
|
def _set_up_challenges(self):
|
||||||
if not os.path.isdir(self.challenge_dir):
|
if not os.path.isdir(self.challenge_dir):
|
||||||
|
old_umask = os.umask(0o022)
|
||||||
filesystem.makedirs(self.challenge_dir, 0o755)
|
filesystem.makedirs(self.challenge_dir, 0o755)
|
||||||
|
os.umask(old_umask)
|
||||||
|
|
||||||
responses = []
|
responses = []
|
||||||
for achall in self.achalls:
|
for achall in self.achalls:
|
||||||
|
|||||||
Reference in New Issue
Block a user