FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 03-26-2008, 05:11 AM
"Kaushal Shriyan"
 
Default permission denied (13)

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
 
Old 03-26-2008, 06:55 AM
Dirk Heinrichs
 
Default permission denied (13)

Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
> I am running the command
>
> /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
> /tmp/rsync-${TIMESTAMP}.log 2>&1
>
> 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: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
 
Old 03-26-2008, 08:33 AM
"Kaushal Shriyan"
 
Default permission denied (13)

On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs <dirk.heinrichs.ext@nsn.com> wrote:

Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:

> I am running the command

>

> /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >

> /tmp/rsync-${TIMESTAMP}.log 2>&1

>

> 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: dirk.heinrichs@capgemini.com

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
 
Old 03-26-2008, 08:36 AM
Dirk Heinrichs
 
Default permission denied (13)

Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
> On Wed, Mar 26, 2008 at 1:25 PM, Dirk Heinrichs
> <dirk.heinrichs.ext@nsn.com>
>
> wrote:
> > Am Mittwoch, 26. März 2008 schrieb ext Kaushal Shriyan:
> > > I am running the command
> > >
> > > /usr/bin/rsync -avO /var/lib/mysql sms@hostaa:/var/lib/ >
> > > /tmp/rsync-${TIMESTAMP}.log 2>&1
> > >
> > > 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: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
 

Thread Tools




All times are GMT. The time now is 12:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org