Rsync error: failed to set times
From Nitix Knowledgebase
Problem
Why am I getting the following error while using rsync on my server?
DIRECTORY/PATH/ rsync: failed to set times on "/DIRECTORY/PATH" (in USER): Operation not permitted (1)
Cause
This error occurs because the rsync version in Nitix cannot preserve modified times for directories.
Solution
To stop this error from occurring, use the following command (instead of the regular -zavP):
rsync -zavPO
The O option tells rsync to omit directories when preserving times.

