rsync errors

Paul Slootman paul+rsync at wurtel.net
Tue Mar 25 16:42:19 GMT 2008


On Tue 25 Mar 2008, Kaushal Shriyan wrote:
> 
> I am running the command
> 
> /usr/bin/rsync -avO /var/lib/mysql sms at hostaa:/var/lib/ >
> /tmp/rsync-${TIMESTAMP}.log 2>&1
> 
> I am getting the below error in the log file
> 
> mysql/
> rsync: failed to set permissions on "/var/lib/mysql": Operation not
> permitted (1)

Does the "sms" user on hostaa have permission to set permissions on
/var/lib/mysql? I would guess not, that's probably owned by the "mysql"
user... That's the cause of your error.


Paul Slootman


More information about the rsync mailing list