[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] SGID error..
From: |
Peter Larsen |
Subject: |
[rdiff-backup-users] SGID error.. |
Date: |
Tue, 25 Jan 2005 18:30:45 +0100 |
User-agent: |
KMail/1.7.2 |
#rdiff-backup -V
rdiff-backup 0.12.7
#
Client: FreeBSD 4.X
Recieving end: FreeBSD 5.3
problem:
When copying eg /sbin/ccdconfig it crashes:
# ls -l /sbin/ccdconfig
-r-xr-sr-x 1 root kmem 66248 Oct 17 14:47 /sbin/ccdconfig
or, any file with "s" flag..
/usr/local/bin/rdiff-backup -v5 --exclude /proc --exclude-special-files
--exclude-device-files / backup@<host>::/usr/local/backups/rdiff/<computer>
Processing changed file sbin/ccdconfig
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line
254, in Main
take_action(rps)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line
226, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line
271, in Backup
backup.Mirror(rpin, rpout)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line
36, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 440, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 362, in reval
if isinstance(result, Exception): raise result
OSError: [Errno 1] Operation not permitted:
'/usr/local/backups/rdiff/<computer>/sbin/rdiff-backup.tmp.723'
if i change the login to
/usr/local/bin/rdiff-backup -v5 --exclude /proc --exclude-special-files
--exclude-device-files / root@<host>::/usr/local/backups/rdiff/<computer>
(yes, root)
then all works..
why?
regards, Peter Larsen
- [rdiff-backup-users] SGID error..,
Peter Larsen <=