I have some backup processes using rsnaphson, himself using rsync. Some big data files have changed the owner / permissions and are detected as file changes by rsync.
I would like to disable this feature, so for example a file that changed the permissions from 755 to 775 is not recognized as changed by rsync and stays as is in the destination dir.
My rsync call has this options at the moment:
-a --delete --numeric-ids --relative --delete-excluded --compress-level=5 --stats
Your problem is:
-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X)
You are explicitly telling rsync
to check the permissions. e.g.:
-p, --perms preserve permissions
Get rid of -a
and tailor your options as needed.