Fixup permissions for files
This commit is contained in:
parent
069f63f1de
commit
7cedc16110
@ -83,7 +83,7 @@ class OpenStackSnap():
|
||||
LOG.info('Rendering {} to {}'.format(template,
|
||||
target_file))
|
||||
with open(target_file, 'w') as tf:
|
||||
os.fchmod(tf.fileno(), 0o550)
|
||||
os.fchmod(tf.fileno(), 0o640)
|
||||
tf.write(renderer.render(template,
|
||||
self.snap_env))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user