|
From: | 姜文栋 |
Subject: | [rdiff-backup-users] OSError: [Errno 13] Permission denied under Cygwin |
Date: | Sat, 16 Jul 2005 03:14:35 +0800 |
rdiff-backup-users,你好!
Windows XP SP2
with NTFS,and Cygwin,Python 2.3
Everything seem ok when I install
librsync-0.9.7 and rdiff-backup-0.13.6
but when I run it ,it
displays:
$ rdiff-backup /home/admin
/home/lib
-----------------------------------------------------------------
Detected
abilities for source (read only) file system:
Access control
lists
Off
Extended
attributes
Off
Mac OS X style resource
forks
Off
Mac OS X Finder
information
Off
-----------------------------------------------------------------
Warning:
ownership cannot be changed on filesystem at
/home/lib/rdiff-backup-data
Traceback (most recent call last):
File
"/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File
"/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 280, in
Main
take_action(rps)
File
"/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 250, in
take_action
elif action == "backup": Backup(rps[0],
rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 291, in Backup
backup_set_fs_globals(rpin,
rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 411, in backup_set_fs_globals
dest_fsa =
rpout.conn.fs_abilities.get_fsabilities_readwrite(
File
"/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 393, in
get_fsabilities_readwrite
return
FSAbilities(desc_string).init_readwrite(
File
"/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line 155, in
init_readwrite
subdir.delete()
File
"/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 851, in
delete
if Globals.fsync_directories:
self.fsync()
File
"/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 1034, in
fsync
if not fp:
self.conn.rpath.RPath.fsync_local(self)
File
"/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 1041, in
fsync_local
os.fsync(fd)
OSError: [Errno 13] Permission
denied
$ ls -l
/home/
total 0
drwxrwxrwx+ 9 admin
None 0 Jul 16
00:53 admin
drwx------+ 3 admin
None 0 Jul 16
00:22 lib
How can I
resolve this problem?
Is there anybody can help me?
Tanks a
lot!!!
___________________________________________
[Prev in Thread] | Current Thread | [Next in Thread] |