Change cache directory permissions to 0o6777 from 0o0777

This commit is contained in:
Mattias Andrée 2012-10-08 18:21:34 +02:00
parent f838e1c8e9
commit 4ea588f966

View file

@ -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: