diff --git a/nodes/home/nas.py b/nodes/home/nas.py index 73979ff..eba9f9f 100644 --- a/nodes/home/nas.py +++ b/nodes/home/nas.py @@ -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': {},