mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 08:03:44 +02:00
Add 'strict_permissions' when creating config
This commit is contained in:
@@ -25,6 +25,7 @@ IP_REGEX = re.compile(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$")
|
|||||||
def create_le_config(parent_dir):
|
def create_le_config(parent_dir):
|
||||||
"""Sets up LE dirs in parent_dir and returns the config dict"""
|
"""Sets up LE dirs in parent_dir and returns the config dict"""
|
||||||
config = copy.deepcopy(constants.CLI_DEFAULTS)
|
config = copy.deepcopy(constants.CLI_DEFAULTS)
|
||||||
|
config["strict_permissions"] = False
|
||||||
|
|
||||||
le_dir = os.path.join(parent_dir, "letsencrypt")
|
le_dir = os.path.join(parent_dir, "letsencrypt")
|
||||||
config["config_dir"] = os.path.join(le_dir, "config")
|
config["config_dir"] = os.path.join(le_dir, "config")
|
||||||
|
|||||||
Reference in New Issue
Block a user