nodes/home.nas: fix permissions cronjobs
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-15 17:33:25 +01:00
parent 8343838dc6
commit d0b2e2fb61
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -32,8 +32,8 @@ 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/', 'chown_nas': '0 3 * * * root chown -R :nas /storage/nas/',
'chmod_nas_group': '0 4 * * * root chmod -R g+rw /storage/nas', 'chmod_nas_directories': '0 4 * * * root find /storage/nas/ -type d -exec chmod 0775 {} \;',
'chmod_nas_others': '0 4 * * * root chmod -R o-rwx /storage/nas', 'chmod_nas_files': '0 4 * * * root find /storage/nas/ -type f -exec chmod 0664 {} \;',
}, },
'groups': { 'groups': {
'nas': {}, 'nas': {},