Gentoo Archives: gentoo-user

From: Kaushal Shriyan <kaushalshriyan@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] rsync errors
Date: Thu, 27 Mar 2008 14:56:59
Message-Id: 6b16fb4c0803270756s15648f51j1fdc1a2d1cceab87@mail.gmail.com
1 Hi
2
3 I am running the command
4
5 /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
6 /tmp/rsync-${TIMESTAMP}.log 2>&1
7
8 I am getting the below error in the log file
9
10 mysql/
11 rsync: failed to set permissions on "/var/lib/mysql": Operation not
12 permitted (1)
13 rsync: failed to open "/var/lib/mysql/ib_logfile0", continuing:
14 Permission denied (13)
15 mysql/ib_logfile0
16 rsync: failed to open "/var/lib/mysql/ib_logfile1", continuing:
17 Permission denied (13)
18 mysql/ib_logfile1
19 rsync: failed to open "/var/lib/mysql/ibdata1", continuing: Permission
20 denied (13)
21 mysql/ibdata1
22 rsync: failed to open "/var/lib/mysql/master.info", continuing:
23 Permission denied (13)
24 mysql/master.info
25 rsync: failed to open "/var/lib/mysql/SCHEDULER
26 /ScheduleTasks.MYD", continuing: Permission denied (13)
27
28 Any thing I am missing
29
30 I did setfacl -R -dm u:sms:rwx /var/lib/mysql on hostaa
31 setfacl -R -dm u:mysql:rwx /var/lib/mysql on hostaa
32 chmod -R g-x,g+X /var/lib/mysql on hostaa
33
34 but no luck
35
36 Thanks and Regards
37
38 Kaushal

Replies

Subject Author
Re: [gentoo-user] rsync errors Alan McKinnon <alan.mckinnon@×××××.com>