Solved rsync: failed to set times: Operation not permitted

Hi,

Looking for ZFS and FreeBSD wizards to help me out here. I have a single "partition" ZFS pool mounted to a directory inside /jails/www/usr/local/www/stuff (that is served by nginx) and from inside that jail I have chown(1)'d that directory to a particular user. I have rsync periodically updating that directory from a remote server. Files are syncing fine, however there is a persistent error:
Code:
rsync: failed to set times on "/usr/local/www/stuff/file": Operation not permitted
What am I missing here?
 
The user may be the owner of the directory but not the file. If it's not the owner of the file it cannot change the times on that file.
 
Interesting, it seems the errors are generated by symlinks, which are owned by root:wheel, while files they link to are owned by the user running the rsync. What could be happening here?
 
Back
Top