nodes/home.nas: one cronjob for permissions instead of three
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
7345543fa2
commit
72831ee386
1 changed files with 4 additions and 3 deletions
|
@ -41,9 +41,10 @@ nodes['home.nas'] = {
|
||||||
},
|
},
|
||||||
'cron': {
|
'cron': {
|
||||||
# Ensure every user is able to read and write to the NAS dataset.
|
# Ensure every user is able to read and write to the NAS dataset.
|
||||||
'chown_nas': '0 3 * * * root chown -R :nas /storage/nas/',
|
'nas_permissions': '0 3 * * * root '
|
||||||
'chmod_nas_directories': '0 4 * * * root find /storage/nas/ -type d -exec chmod 0775 {} \;',
|
'chown -R :nas /storage/nas/ && '
|
||||||
'chmod_nas_files': '0 4 * * * root find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
'find /storage/nas/ -type d -exec chmod 0775 {} \; && '
|
||||||
|
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||||
},
|
},
|
||||||
'groups': {
|
'groups': {
|
||||||
'nas': {},
|
'nas': {},
|
||||||
|
|
Loading…
Reference in a new issue