Skip to content

Commit

Permalink
Give RW permissions to WALE_TMPDIR for all (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDem0n committed Jan 27, 2017
1 parent 894e7b7 commit e772859
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions postgres-appliance/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ def write_wale_command_environment(placeholders, overwrite, provider):
return
if not os.path.exists(placeholders['WALE_TMPDIR']):
os.makedirs(placeholders['WALE_TMPDIR'])
os.chmod(placeholders['WALE_TMPDIR'], 0o1777)

write_file(placeholders['WALE_TMPDIR'], os.path.join(placeholders['WALE_ENV_DIR'], 'TMPDIR'), True)


Expand Down

0 comments on commit e772859

Please sign in to comment.