Welcome! » Log In » Create A New Profile

os error 22 detecting file system properties on cygwin

Posted by Anonymous 
os error 22 detecting file system properties on cygwin
January 05, 2004 07:04PM
Hi I am attempting to do a restore on a cygwin rdiff-backup install.
I am getting the fs_ablities.py failing on creating a folder.
I assume the foo file is a test of some sort, I appears to fail with OS
error 22 instead of just disabling that part of the test.
Is there some sort of patch we can try to disable this testing?
the testing is very useful, but needs this tweak for it to restore on
windows.

thanks

dave

here is the traceback:

C:RDIFF-~1>python2.3.exe
C:rdiff-backuprdiff-backup -v6 --print-statistics --
remote-schema 'plink -C -i sloth.PPK %s rdiff-backup --server' -r 1D
dbbackup < at > sl
oth::/mnt/backupdisk1/resttest/readme.txt /cygdrive/c/work/resttest/
Executing plink -C -i sloth.PPK dbbackup < at > sloth rdiff-backup --server
Authenticating with public key "dsa-key-20040105"
########## /mnt/backupdisk1/resttest/readme.txt /cygdrive/c/work/resttest
Using mirror root directory /mnt/backupdisk1/resttest
Making directory /cygdrive/c/work/resttest
Making directory /cygdrive/c/work/resttest/rdiff-backup.tmp.0
Traceback (most recent call last):
File "C:rdiff-backuprdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/Main.py", line 247, in
Main
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/Main.py", line 220, in
take_a
ction
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/Main.py", line 438, in
Restor
e
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/Main.py", line 476, in
restor
e_set_fs_globals
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/fs_abilities.py", line
380, i
n get_fsabilities_readwrite
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/fs_abilities.py", line
141, i
n init_readwrite
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/fs_abilities.py", line
187, i
n set_ownership
File "/cygdrive/c/DBGlobalTest/xfer/rdiff_backup/rpath.py", line 739, in
chown

OSError: [Errno 22] Invalid argument:
'/cygdrive/c/work/resttest/rdiff-backup.tm
p.0/foo'
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 247, in
Mai
n
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 216, in
tak
e_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
336,
in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
298,
in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
221,
in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem pr
obably originated remotely)
Sorry, only registered users may post in this forum.

Click here to login