SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Permission Denied Errors on daily.6 rm -
Author Message
Post Permission Denied Errors on daily.6 rm - 
I have been running rsnapshot as a limited user on a Ubuntu Linux
release. I am now getting errors related to permission denied when
rsnapshot tires to remove SOME (but not all) files/directories for the
daily.6 directory which then causes the rest of the backup to fail.

Here is the last couple of lines from the output
******************************************************

/bin/rm: cannot remove `/backup/daily.6//MeganDesktop/megandocs/scrabble.xls': Permission denied
/bin/rm: cannot remove `/backup/daily.6//MeganDesktop/megandocs/stmt_2005-11-30.pdf': Permission denied
/bin/rm: cannot remove `/backup/daily.6//MeganDesktop/megandocs/stmt_2006-05-31.pdf': Permission denied
/bin/rm: cannot remove `/backup/daily.6//MeganDesktop/megandocs/untitled.bmp': Permission denied
/bin/rm: cannot remove `/backup/daily.6//MeganDesktop/megandocs/weddingpackage.jpg': Permission denied
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/local/bin/rsnapshot daily
----------------------------------------------------------------------------
ERROR: Warning! /bin/rm failed.
ERROR: Error! rm_rf("/backup/daily.6/")
/usr/bin/logger -i -p user.err -t rsnapshot /usr/local/bin/rsnapshot daily: \
ERROR: Error! rm_rf("/backup/daily.6/")


*****************************************************

What am I doing wrong? How can I correct this?

Thanks,

Everette

--
*****************
Everette Mills
http://www.elmills.com
elmills < at > elmills.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Permission Denied Errors on daily.6 rm - 
*please report the output from:
*
*ls -l /backup/daily.6//MeganDesktop/megandocs/scrabble.xls
*ls -ld /backup/daily.6//MeganDesktop/megandocs/
*ls -ld /backup/daily.6//MeganDesktop/
*ls -ld /backup/daily.6/
*ls -ld /backup/

-rw-r--r-- 7 elmills elmills 14848 2006-02-19 21:33
/backup/daily.6//MeganDesktop/megandocs/scrabble.xls
dr-xr-xr-x 31 elmills elmills 4096 2007-02-01 22:50
/backup/daily.6//MeganDesktop/megandocs/
drwxr-xr-x 3 elmills elmills 4096 2007-02-14 16:49
/backup/daily.6//MeganDesktop/
drwxr-xr-x 4 elmills elmills 4096 2007-02-14 16:49 /backup/daily.6/
drwxr-xr-x 9 elmills root 4096 2007-02-14 16:47 /backup/

*
*
*which account is rsnapshot running under ?
*
It is running under the elmills user. Based on the results above it
indicates that the files are read only for the scrabble.xls. How did
this happend/how can i prevent it from happening?

Thanks,
Everette

**
Everette Mills
http://www.elmills.com
elmills < at > elmills.com



Everette Mills wrote:
I have been running rsnapshot as a limited user on a Ubuntu Linux
release. I am now getting errors related to permission denied when
rsnapshot tires to remove SOME (but not all) files/directories for the
daily.6 directory which then causes the rest of the backup to fail.

Here is the last couple of lines from the output
******************************************************

/bin/rm: cannot remove
`/backup/daily.6//MeganDesktop/megandocs/scrabble.xls': Permission denied
/bin/rm: cannot remove
`/backup/daily.6//MeganDesktop/megandocs/stmt_2005-11-30.pdf':
Permission denied
/bin/rm: cannot remove
`/backup/daily.6//MeganDesktop/megandocs/stmt_2006-05-31.pdf':
Permission denied
/bin/rm: cannot remove
`/backup/daily.6//MeganDesktop/megandocs/untitled.bmp': Permission denied
/bin/rm: cannot remove
`/backup/daily.6//MeganDesktop/megandocs/weddingpackage.jpg':
Permission denied
----------------------------------------------------------------------------

rsnapshot encountered an error! The program was invoked with these
options:
/usr/local/bin/rsnapshot daily
----------------------------------------------------------------------------

ERROR: Warning! /bin/rm failed.
ERROR: Error! rm_rf("/backup/daily.6/")
/usr/bin/logger -i -p user.err -t rsnapshot /usr/local/bin/rsnapshot
daily: \
ERROR: Error! rm_rf("/backup/daily.6/")


*****************************************************

What am I doing wrong? How can I correct this?

Thanks,

Everette


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB