mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Permissions of replica files changed to 0600.
File system permissions on replica files in /var/lib/ipa were changed to 0600. https://fedorahosted.org/freeipa/ticket/2847
This commit is contained in:
committed by
Martin Kosek
parent
36c4778bc6
commit
be9614654e
@@ -422,7 +422,9 @@ def main():
|
||||
|
||||
print "Packaging replica information into %s" % encfile
|
||||
ipautil.run(["/bin/tar", "cf", replicafile, "-C", top_dir, "realm_info"])
|
||||
ipautil.encrypt_file(replicafile, encfile, dirman_password, top_dir);
|
||||
ipautil.encrypt_file(replicafile, encfile, dirman_password, top_dir)
|
||||
|
||||
os.chmod(encfile, 0600)
|
||||
|
||||
remove_file(replicafile)
|
||||
shutil.rmtree(dir)
|
||||
|
Reference in New Issue
Block a user