Fix file permissions for rsync.