Gentoo Archives: gentoo-user

From: Kaushal Shriyan <kaushalshriyan@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] permission denied (13)
Date: Wed, 26 Mar 2008 06:11:44
Message-Id: 6b16fb4c0803252311h37bc1c17ka443f631c8e9eeef@mail.gmail.com
1 I am running the command
2
3 /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
4 /tmp/rsync-${TIMESTAMP}.log 2>&1
5
6 I am getting the below error in the log file
7
8 mysql/
9 rsync: failed to set permissions on "/var/lib/mysql": Operation not
10 permitted (1)
11 rsync: failed to open "/var/lib/mysql/ib_logfile0", continuing: Permission
12 denied (13)
13 mysql/ib_logfile0
14 rsync: failed to open "/var/lib/mysql/ib_logfile1", continuing: Permission
15 denied (13)
16 mysql/ib_logfile1
17 rsync: failed to open "/var/lib/mysql/ibdata1", continuing: Permission
18 denied (13)
19 mysql/ibdata1
20 rsync: failed to open "/var/lib/mysql/master.info", continuing: Permission
21 denied (13)
22 mysql/master.info
23 rsync: failed to open "/var/lib/mysql/SCHEDULER/ScheduleTasks.MYD",
24 continuing: Permission denied (13)
25
26 I set the setfacl command using the below command for the user ssp
27
28 sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
29 sudo setfacl -R -m u:ssp:rwx /var/lib/mysql
30
31 Am i missing any thing
32
33 Thanks and Regards
34
35 Kaushal

Replies

Subject Author
Re: [gentoo-user] permission denied (13) Dirk Heinrichs <dirk.heinrichs.ext@×××.com>