1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
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)