[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] BUG: directory with no permission
From: |
Frederic Bastien |
Subject: |
[rdiff-backup-users] BUG: directory with no permission |
Date: |
Tue, 27 Feb 2007 09:28:59 -0500 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070103) |
Hi,
I have found a bug. I'm a Java/C/C++ programmer, so it will be easier
for you to correct it them it. I use rdiff-backup 1.1.9. I have
simplified the step to reproduce it like this:
#mkdir t
#chmod a-rxw t
#rdiff-backup t t2
here is the errors I receive.
Exception '[Errno 13] Permission denied:
'/home/nouizadmin/rdiff-backup/bin/t'' raised of class 'exceptions.OSError':
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
313, in Main
final_set_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
230, in final_set_action
if restore_set_root(rps[0]): action = "restore"
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
591, in restore_set_root
if (parent_dir.isdir() and
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
878, in listdir
return self.conn.os.listdir(self.path)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
313, in Main
final_set_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
230, in final_set_action
if restore_set_root(rps[0]): action = "restore"
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
591, in restore_set_root
if (parent_dir.isdir() and
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
878, in listdir
return self.conn.os.listdir(self.path)
OSError: [Errno 13] Permission denied: '/home/nouizadmin/rdiff-backup/bin/t'
What is the correct beaheavier you think? Giving a warning that the
folder can't be read or to change the permission, make the backup and
put the old permission?
thanks
Frederic Bastien
- [rdiff-backup-users] BUG: directory with no permission,
Frederic Bastien <=