home.nas: split nas_permissions timer to multiple commands
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
40485ced8a
commit
8e9097a8c1
1 changed files with 4 additions and 2 deletions
|
@ -181,9 +181,11 @@ nodes['home.nas'] = {
|
||||||
'timers': {
|
'timers': {
|
||||||
# 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.
|
||||||
'nas_permissions': {
|
'nas_permissions': {
|
||||||
'command': 'chown -R :nas /storage/nas/ && '
|
'command': [
|
||||||
'find /storage/nas/ -type d -exec chmod 0775 {} \; && '
|
'chown -R :nas /storage/nas/',
|
||||||
|
'find /storage/nas/ -type d -exec chmod 0775 {} \;',
|
||||||
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
'find /storage/nas/ -type f -exec chmod 0664 {} \;',
|
||||||
|
],
|
||||||
'when': '*-*-* 03:00:00',
|
'when': '*-*-* 03:00:00',
|
||||||
},
|
},
|
||||||
'nas_mixcloud': {
|
'nas_mixcloud': {
|
||||||
|
|
Loading…
Reference in a new issue