mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 05:47:59 +01:00
python's chmod does not do anything
This commit is contained in:
parent
5c736f63ae
commit
ac94c903f6
1 changed files with 4 additions and 2 deletions
6
setup.py
6
setup.py
|
@ -502,8 +502,10 @@ class Setup():
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue