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:
Tomas Babej
2012-08-06 08:57:14 -04:00
committed by Martin Kosek
parent 36c4778bc6
commit be9614654e

View File

@@ -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)