Skip to content

Commit

Permalink
python's chmod does not do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
maandree committed Oct 8, 2012
1 parent 5c736f6 commit ac94c90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,10 @@ def install(self, conf):
if not os.path.exists(pdir):
print('Creating intermediate-level directories needed for ' + dir)
os.makedirs(pdir)
print('Creating directory ' + dir + ' with mode mask 6777')
os.mkdir(dir, 0o6777)
print('Creating directory ' + dir)
os.mkdir(dir)
print('Setting permission mode mask for ' + dir + ' to 6777')
Popen('chmod 6777 -- ' + dir, shell=True).wait()
for shell in [item[0] for item in shells]:
if conf[shell] is not None:
for command in commands:
Expand Down

0 comments on commit ac94c90

Please sign in to comment.