[gentoo-user] permission denied (13)

2008-03-26 Thread Kaushal Shriyan
I am running the command

/usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
/tmp/rsync-${TIMESTAMP}.log 21

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


Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Dirk Heinrichs
Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
 I am running the command

 /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
 /tmp/rsync-${TIMESTAMP}.log 21

 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

ssp != sms

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Kaushal Shriyan
On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs [EMAIL PROTECTED]
wrote:

 Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
  I am running the command
 
  /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
  /tmp/rsync-${TIMESTAMP}.log 21
 
  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

 ssp != sms

 HTH...

Dirk
 --
 Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
 Configuration Manager   | Fax:  +49 (0)211 47068 111
 Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
 Wanheimerstraße 68  | Web:  http://www.capgemini.com
 D-40468 Düsseldorf  | ICQ#: 110037733
 GPG Public Key C2E467BB | Keyserver: www.keyserver.net



Hi Dirk

I did not understand your email

Thanks and Regards

Kaushal


Re: [gentoo-user] permission denied (13)

2008-03-26 Thread Dirk Heinrichs
Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
 On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs
 [EMAIL PROTECTED]

 wrote:
  Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
   I am running the command
  
   /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
   /tmp/rsync-${TIMESTAMP}.log 21
  
   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
 
  ssp != sms

 I did not understand your email

In the command above, you used user sms, but you changed the ACL to allow 
access for user ssp. sms is not equal to (!=) ssp. 

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.