Removed duplicate perm-setting (already part of Dockerfile)
Some checks failed
Build next-tags / bake-next (push) Has been cancelled
Test-Build Docker Image / bake-test (push) Has been cancelled

Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
simonmicro 2025-11-08 13:41:17 +01:00
parent d166068721
commit d006e2e587
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6

View file

@ -26,7 +26,6 @@ def change_uid_grp(logger):
new_uid = int(os.getenv('UID', str(uid)))
os.chown("/home/py-kms", new_uid, new_gid)
os.chmod("/home/py-kms", 0o700)
os.chmod("/usr/bin/start.py", 0o555) # allow execution by non-root users
if os.path.isdir(dbPath):
# Correct permissions recursively, as to access the database file, also its parent folder must be accessible
logger.debug(f'Correcting owner permissions on {dbPath}')