rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Permissions error when backing up?


From: stanlin
Subject: [rdiff-backup-users] Permissions error when backing up?
Date: Thu, 17 Jul 2008 06:23:05 -0400

I'm running a backup on Windows via cygwin to a clean local backup directory. 
Since the backup is local, I thought it would be a straight deal, but when I 
attempt the backup I get an unexpected permissions error:

$ rdiff-backup /cygdrive/c/me/testbed/ /cygdrive/c/backup/
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in <module>
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 285, in Mai
n
    take_action(rps)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 255, in tak
e_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 309, in Bac
kup
    rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 467, in bac
kup_touch_curmirror_local
    mirrorrp.fsync_with_dir()
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1080, in f
sync_with_dir
    self.fsync(fp)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1068, in f
sync
    if not fp: self.conn.rpath.RPath.fsync_local(self)
  File "/usr/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 1075, in f
sync_local
    os.fsync(fd)
OSError: [Errno 13] Permission denied
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound me
thod GzipFile.__del__ of <gzip open file '/cygdrive/c/backup/rdiff-backup-data/e
rror_log.2008-07-17;08403;05820;05802-07;05800.data.gz', mode 'wb' at 0x7fec8a88
 0x7fdf1ccc>> ignored


I am running rdiff-backup as the administrative user, and the backup folder is 
local and created by this user, so I don't quite understand why this problem is 
occurring. I go back to check the partially-failed backup, it seems that my 
administrative user no longer owns the backup folder, now it is owned by the 
user "None" (which I'm guessing is some sort of placeholder, since there is no 
local "None" user on my windows box).

This seems strange to me. Could someone knowledgeable help me out?

Many thanks in advance,
Stan

+----------------------------------------------------------------------
|This was sent by address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]