chown -R :users for cache

This commit is contained in:
Mattias Andrée 2012-10-08 18:30:32 +02:00
parent 0560ae6472
commit 21eb7358f2

View file

@ -506,6 +506,8 @@ class Setup():
os.mkdir(dir) os.mkdir(dir)
print('Setting permission mode mask for ' + dir + ' to 6777') print('Setting permission mode mask for ' + dir + ' to 6777')
Popen('chmod -R 6777 -- ' + dir, shell=True).wait() Popen('chmod -R 6777 -- ' + dir, shell=True).wait()
print('Setting group for ' + dir + ' users')
Popen('chown -R :users -- ' + dir, shell=True).wait()
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: