bugrdiff-backup - Bugs: bug #19033, Permission denied error and backup...


bug #19033: Permission denied error and backup aborts

Submitted by:  None
Submitted on:  Mon 12 Feb 2007 02:20:24 AM UTC  
Votes:  100  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 18 Jun 2007 02:52:47 AM UTC, comment #2: 

I have tested this exact command again with 1.1.11. The command works for me.

Andrew Ferguson <owsla>
Project Administrator
Tue 27 Feb 2007 05:13:25 AM UTC, comment #1: 

This works for me when run as root (which is the necessary setup in this case). Waiting on mailing list for response from user.

Andrew Ferguson <owsla>
Project Administrator
Mon 12 Feb 2007 02:20:24 AM UTC, original submission:  

I'm getting the following error when trying to backup my laptop (Mac OSX) to my server (RHEL4) when running rdiff-backup v1.1.5 on both sides:

Traceback (most recent call last):
  File "/sw/bin/rdiff-backup", line 23, in ?
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 315, in Main    take_action(rps)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 271, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 334, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 448, in _call_
    return apply(self.connection.reval, (self.name,) + args)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 13] Permission denied: '/mnt/backup/ibookbackups/private/var/db/Spotlight-V100/%2FVolumes%2Fftpmirror.sectoor.de'

I've tried running rdiff-backup --check-destination-dir on the backup directory to no avail.

Here are the permissions on the file that seems to be causing the problem:

The permissions on the backup side don't look problematic:

drwx------   2 corey corey 4096 Jun 27  2006 %2FVolumes%2Fftpmirror.sectoor.de

On my laptop the permissions look slightly different:

drw-------    2 root  wheel   68 Jun 27  2006 %2FVolumes%2Fftpmirror.sectoor.de

Hopefully someone can offer a fix.  As it stands I'm unable to use rdiff-backup.




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by owsla (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-18 owsla Open/ClosedOpen => Closed
    2007-02-12 Yeroc Carbon-Copy- => Added yeroc

    Back to the top

    Powered by Savane 3.5