public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] permission denied (13)
@ 2008-03-26  6:11 Kaushal Shriyan
  2008-03-26  7:55 ` Dirk Heinrichs
  0 siblings, 1 reply; 4+ messages in thread
From: Kaushal Shriyan @ 2008-03-26  6:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1165 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-26  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26  6:11 [gentoo-user] permission denied (13) Kaushal Shriyan
2008-03-26  7:55 ` Dirk Heinrichs
2008-03-26  9:33   ` Kaushal Shriyan
2008-03-26  9:36     ` Dirk Heinrichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox