mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
chown -R :users for cache
This commit is contained in:
parent
0560ae6472
commit
21eb7358f2
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue