mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-12-06 07:42:00 +01:00
As the code continues regardless, only show a warning
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
7098a455c3
commit
af78d24b94
|
|
@ -45,7 +45,7 @@ def change_uid_grp(logger):
|
|||
os.chmod(fPath, 0o600)
|
||||
logger.debug(subprocess.check_output(['ls', '-la', dbPath]).decode())
|
||||
else:
|
||||
logger.error(f'Database path {dbPath} is not a directory, will not correct owner permissions.')
|
||||
logger.warning(f'Database path {dbPath} is not a directory, will not correct owner permissions.')
|
||||
if 'LOGFILE' in os.environ and os.path.exists(os.environ['LOGFILE']):
|
||||
# Oh, the user also wants a custom log file -> make sure start.py can access it by setting the correct permissions (777)
|
||||
os.chmod(os.environ['LOGFILE'], 0o777)
|
||||
|
|
|
|||
Loading…
Reference in a new issue