On Thursday 27 March 2008, Kaushal Shriyan wrote:
> Hi
>
> I am running the command
>
> /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/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)
> rsync: failed to open "/var/lib/mysql/ib_logfile0", continuing:
> Permission denied (13)
> mysql/ib_logfile0
> rsync: failed to open "/var/lib/mysql/ib_logfile1", continuing:
> Permission denied (13)
> mysql/ib_logfile1
> rsync: failed to open "/var/lib/mysql/ibdata1", continuing:
> Permission denied (13)
> mysql/ibdata1
> rsync: failed to open "/var/lib/mysql/master.info", continuing:
> Permission denied (13)
> mysql/master.info
> rsync: failed to open "/var/lib/mysql/SCHEDULER
> /ScheduleTasks.MYD", continuing: Permission denied (13)
>
> Any thing I am missing
>
> I did setfacl -R -dm u:sms:rwx /var/lib/mysql on hostaa
>        setfacl -R -dm u:mysql:rwx /var/lib/mysql on hostaa
>        chmod -R g-x,g+X /var/lib/mysql on hostaa

Please supply more info:

1. The permissions on the source and destination directories
2. The ACL's for those directories
3. Does your system have ACLs compiled in, and are they enabled?
4. Which user is rsync running as?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list

Reply via email to