mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
main.py - windows os.getuid() fix
Removed the need for UID in methods. They are no longer passed a specific UID rather use the global UID in util As all functions in other classes (e.g. Accounts, crypto_util.py) etc call os.geteuid() this should work
This commit is contained in:
parent
62fa8c2630
commit
325189a421
1 changed files with 2 additions and 2 deletions
|
|
@ -708,9 +708,9 @@ def renew(config, unused_plugins):
|
|||
def make_or_verify_needed_dirs(config):
|
||||
"""Create or verify existence of config and work directories"""
|
||||
util.set_up_core_dir(config.config_dir, constants.CONFIG_DIRS_MODE,
|
||||
os.geteuid(), config.strict_permissions)
|
||||
config.strict_permissions)
|
||||
util.set_up_core_dir(config.work_dir, constants.CONFIG_DIRS_MODE,
|
||||
os.geteuid(), config.strict_permissions)
|
||||
config.strict_permissions)
|
||||
|
||||
|
||||
def set_displayer(config):
|
||||
|
|
|
|||
Loading…
Reference in a new issue