rsync-shell: Enforce bandwidth limit of 325 KB/s.
[clinton/scripts.git] / hcoop-backup
index 3a65811..d771434 100755 (executable)
@@ -162,6 +162,7 @@ tar -C /var/backups/databases/ -cf - . | \
 
 # Update file permissions so that rsync.net can access the backups
 chmod -R go=,u-w $RSYNCDIR
+chmod u+w $RSYNCDIR
 chown -R rsync $RSYNCDIR
 
 # Complain to admins if there are unknown files