Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsync errors
Date: Thu, 27 Mar 2008 15:07:33
Message-Id: 200803271706.04227.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] rsync errors by Kaushal Shriyan
1 On Thursday 27 March 2008, Kaushal Shriyan wrote:
2 > Hi
3 >
4 > I am running the command
5 >
6 > /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
7 > /tmp/rsync-${TIMESTAMP}.log 2>&1
8 >
9 > I am getting the below error in the log file
10 >
11 > mysql/
12 > rsync: failed to set permissions on "/var/lib/mysql": Operation not
13 > permitted (1)
14 > rsync: failed to open "/var/lib/mysql/ib_logfile0", continuing:
15 > Permission denied (13)
16 > mysql/ib_logfile0
17 > rsync: failed to open "/var/lib/mysql/ib_logfile1", continuing:
18 > Permission denied (13)
19 > mysql/ib_logfile1
20 > rsync: failed to open "/var/lib/mysql/ibdata1", continuing:
21 > Permission denied (13)
22 > mysql/ibdata1
23 > rsync: failed to open "/var/lib/mysql/master.info", continuing:
24 > Permission denied (13)
25 > mysql/master.info
26 > rsync: failed to open "/var/lib/mysql/SCHEDULER
27 > /ScheduleTasks.MYD", continuing: Permission denied (13)
28 >
29 > Any thing I am missing
30 >
31 > I did setfacl -R -dm u:sms:rwx /var/lib/mysql on hostaa
32 > setfacl -R -dm u:mysql:rwx /var/lib/mysql on hostaa
33 > chmod -R g-x,g+X /var/lib/mysql on hostaa
34
35 Please supply more info:
36
37 1. The permissions on the source and destination directories
38 2. The ACL's for those directories
39 3. Does your system have ACLs compiled in, and are they enabled?
40 4. Which user is rsync running as?
41
42
43
44 --
45 Alan McKinnon
46 alan dot mckinnon at gmail dot com
47
48 --
49 gentoo-user@l.g.o mailing list