This commit is contained in:
Abhijit Menon-Sen 2015-11-03 10:57:48 +05:30
parent 10fd717a44
commit 7caefa5cd9

View file

@ -307,7 +307,7 @@ class VaultEditor:
self.write_data(new_ciphertext, filename)
# preserve permitions
# preserve permissions
os.chmod(filename, prev.st_mode)
os.chown(filename, prev.st_uid, prev.st_gid)