[SOLVED] change umask of vzdump backups

Phlogi

Renowned Member
Jul 21, 2015
37
4
73
Is there a way to change the default permission for the backup files created by the cron job? I'd like to have group write permission as I need this for later syncing the backups and would like to avoid a second cron job or some script if possible.
 
You could make a "backup-end" hook for that (see the script option in vzdump.conf) which changes the permissions after the backup's done.