On Thu, 2008-03-27 at 19:56 +0530, Kaushal Shriyan wrote:
> I am still getting the below error

> rsync: failed to set permissions on "/var/lib/mysql": Operation not
> permitted (1)
> [...]

User "sms" can't set the permissions of files owned by "mysql"; there's
no way to change this policy using ACLs. I think it would make the most
sense to stop trying to preserve permissions, since in any event, new
destination files need to take on the default permissions you have
established (rather than the source permissions) in order for "mysql" to
be able to use them. Either pass --no-p or replace -a with the subset
of options you do want (perhaps -rlt), and then pass --chmod=ugo=rwX to
allow the permissions of new files to increase to the defaults.


To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html