From af78d24b94074027d272bc2944586d3d5b030712 Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sat, 8 Nov 2025 13:08:32 +0100 Subject: [PATCH] As the code continues regardless, only show a warning Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docker/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.py b/docker/entrypoint.py index 0323a85..b4f77ea 100755 --- a/docker/entrypoint.py +++ b/docker/entrypoint.py @@ -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)