Group: linux.gentoo.user
From: "Kaushal Shriyan"
Date: Wednesday, March 26, 2008 1:20 AM
Subject: [gentoo-user] permission denied (13)

------=_Part_20020_27092785.1206511900895
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I am running the command

/usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/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)

I set the setfacl command using the below command for the user ssp

sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
sudo setfacl -R -m u:ssp:rwx /var/lib/mysql

Am i missing any thing

Thanks and Regards

Kaushal

------=_Part_20020_27092785.1206511900895
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I am running the command

/usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/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)



I set the setfacl command using the below command for the user ssp

sudo setfacl -R -m g:ssp:rwx /var/lib/mysql
sudo setfacl -R -m u:ssp:rwx /var/lib/mysql

Am i missing any thing

Thanks and Regards


Kaushal




------=_Part_20020_27092785.1206511900895--
--
gentoo-user@lists.gentoo.org mailing list

Safety Articles | Usenet Groups | Usenet News | Bluegrass