mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-29 07:27:59 +01:00
Change cache directory permissions to 0o6777 from 0o0777
This commit is contained in:
parent
f838e1c8e9
commit
4ea588f966
1 changed files with 3 additions and 3 deletions
6
setup.py
6
setup.py
|
@ -8,7 +8,7 @@ from subprocess import Popen, PIPE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PONYSAY_VERSION = '2.7'
|
PONYSAY_VERSION = '2.8'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -502,8 +502,8 @@ class Setup():
|
||||||
if not os.path.exists(pdir):
|
if not os.path.exists(pdir):
|
||||||
print('Creating intermediate-level directories needed for ' + dir)
|
print('Creating intermediate-level directories needed for ' + dir)
|
||||||
os.makedirs(pdir)
|
os.makedirs(pdir)
|
||||||
print('Creating directory ' + dir + ' with mode mask 777')
|
print('Creating directory ' + dir + ' with mode mask 6777')
|
||||||
os.mkdir(dir, 0o777)
|
os.mkdir(dir, 0o6777)
|
||||||
for shell in [item[0] for item in shells]:
|
for shell in [item[0] for item in shells]:
|
||||||
if conf[shell] is not None:
|
if conf[shell] is not None:
|
||||||
for command in commands:
|
for command in commands:
|
||||||
|
|
Loading…
Reference in a new issue