mirror of
https://github.com/laurivosandi/certidude
synced 2025-09-06 13:51:12 +00:00
cli: Fix group ownership for authority setup
This commit is contained in:
@@ -628,6 +628,9 @@ def certidude_setup_authority(parent, country, state, locality, organization, or
|
||||
|
||||
ca.sign(key, "sha256")
|
||||
|
||||
_, _, uid, gid, gecos, root, shell = pwd.getpwnam("certidude")
|
||||
os.setegid(gid)
|
||||
|
||||
os.umask(0o027)
|
||||
if not os.path.exists(directory):
|
||||
os.makedirs(directory)
|
||||
|
Reference in New Issue
Block a user