mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Make default renewal file permissions more strict (#3891)
This commit is contained in:
parent
22e0f5779a
commit
e9f040e209
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ def unique_file(path, chmod=0o777, mode="w"):
|
|||
count=0, chmod=chmod, mode=mode)
|
||||
|
||||
|
||||
def unique_lineage_name(path, filename, chmod=0o777, mode="w"):
|
||||
def unique_lineage_name(path, filename, chmod=0o644, mode="w"):
|
||||
"""Safely finds a unique file using lineage convention.
|
||||
|
||||
:param str path: directory path
|
||||
|
|
|
|||
Loading…
Reference in a new issue