mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Make default renewal file permissions more strict (#3891)
This commit is contained in:
committed by
Peter Eckersley
parent
22e0f5779a
commit
e9f040e209
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user