mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-12-05 23:32:00 +01:00
Removed duplicate perm-setting (already part of Dockerfile)
Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
parent
d166068721
commit
d006e2e587
|
|
@ -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}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue