Skip to content

Commit

Permalink
smurf: Allow world execute for starutil temporary directories
Browse files Browse the repository at this point in the history
  • Loading branch information
David Berry committed Aug 27, 2014
1 parent 7ff2790 commit 394d562
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/smurf/scripts/starutil.py
Expand Up @@ -1847,10 +1847,10 @@ def _gettmpdir(cls):
elif not os.path.isdir(NDG.tempdir):
os.mkdir( NDG.tempdir )

# For convenience of allowing others to see the files, make them world-readable.
# For convenience of allowing others to see the files, make them
# world-readable. Also make the directory world-executable.
st = os.stat( NDG.tempdir )
os.chmod( NDG.tempdir, st.st_mode | stat.S_IRGRP | stat.S_IROTH )

os.chmod( NDG.tempdir, st.st_mode | stat.S_IRGRP | stat.S_IROTH | stat.S_IXGRP | stat.S_IXOTH )
return NDG.tempdir

# Return the path to the temporary list file to use for a group. It is
Expand Down

0 comments on commit 394d562

Please sign in to comment.