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': {
|
||||
# Ensure every user is able to read and write to the NAS dataset.
|
||||
'chown_nas': '0 3 * * * root chown -R :nas /storage/nas/',
|
||||
'chmod_nas_directories': '0 4 * * * root find /storage/nas/ -type d -exec chmod 0775 {} \;',
|
||||
'chmod_nas_files': '0 4 * * * root find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||
'nas_permissions': '0 3 * * * root '
|
||||
'chown -R :nas /storage/nas/ && '
|
||||
'find /storage/nas/ -type d -exec chmod 0775 {} \; && '
|
||||
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||
},
|
||||
'groups': {
|
||||
'nas': {},
|
||||
|
|
Loading…
Reference in a new issue