mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-12-05 23:32:00 +01:00
Typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fc4f6b37e0
commit
7098a455c3
|
|
@ -28,7 +28,7 @@ def change_uid_grp(logger):
|
|||
os.chmod("/home/py-kms", 0o700)
|
||||
os.chmod("/usr/bin/start.py", 0o555) # allow execution by non-root users
|
||||
if os.path.isdir(dbPath):
|
||||
# Corret permissions recursively, as to access the database file, also its parent folder must be accessible
|
||||
# Correct permissions recursively, as to access the database file, also its parent folder must be accessible
|
||||
logger.debug(f'Correcting owner permissions on {dbPath}')
|
||||
os.chown(dbPath, new_uid, new_gid)
|
||||
os.chmod(dbPath, 0o700) # executable bit on dirs to allow interaction
|
||||
|
|
|
|||
Loading…
Reference in a new issue