home.nas: split nas_permissions timer to multiple commands
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2022-02-07 07:01:50 +01:00
parent 40485ced8a
commit 8e9097a8c1
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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': {