rsync: problem accessing files on mapped network drive
Philip Flip Kromer
flip@mrflip.com
Tue May 7 05:34:00 GMT 2002
Hello, I am using rsync 2.5.5 protocol version 26 with cygwin 1.3.10-1.
When I connect to a directory that resides on the computer, everything
works great. When I connect to a directory that is a mapped UNC drive,
rsync cannot find any files:
tick:~/foo/bar$ net use 'y:' '\\tick\chairface'
The command completed successfully.
tick:~/foo/bar$ ls /y/foo/bar
arthur.txt* diefled.txt*
tick:~/foo/bar$ rsync -nCuvaz localhost:/y/foo/bar/ .
receiving file list ... link_stat /y/foo/bar/. : No such
file or directory
done
client: nothing to do: perhaps you need to specify some
filenames or the --recursive option?
rsync error: partial transfer (code 23) at main.c(594)
This only happens over the network; it works without the colon:
tick:~/foo/bar$ rsync -nCuvaz /y/foo/bar/ .
building file list ... done
arthur.txt
diefled.txt
wrote 129 bytes read 28 bytes 314.00 bytes/sec
total size is 15924 speedup is 101.43
It breaks whether rsync is run on a local or remote machine. It breaks
with drives mapped to UNC shares from my local (windows) machine (as
above), or to drives mapped to samba network shares.
The output of cygcheck is attached, and some other possibly interesting
details are appended.
If I should send this instead to the rsync mailing list please advise.
Thanks for any ideas.
flip
----------------------------------------------------------------------------
tick:~$ ls -ld /?
drwxr-xr-x 11 flip administ 0 May 7 05:13 /c/
drwxr-xr-x 1 flipcyg usercyg 0 May 7 06:25 /f/
drwxr-xr-x 5 flip administ 0 Dec 31 1979 /h/
drwxr-xr-x 5 flip administ 0 Dec 31 1979 /m/
drwxr-xr-x 1 help helpserv 0 May 3 11:52 /u/
drwxr-xr-x 1 everyone everyone 0 May 7 05:13 /y/
tick:~$ ls -ld /x
drwxr-xr-x 1 flip administ 0 Dec 31 1979 /x/
[/x doesn't appear in the ls because the directory c:\unix\f and c:\unix\y
exist but c:\unix\x doesn't. Either way the error occurs.]
tick:~$ net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------
OK F: \\granular\me Microsoft Windows Network
OK U: \\granular\users Microsoft Windows Network
OK X: \\tick\thrakkorzog Microsoft Windows Network
OK Y: \\tick\chairface Microsoft Windows Network
The command completed successfully.
tick:~/foo$ mount
c:\unix\bin on /usr/bin type system (binmode)
c:\unix\lib on /usr/lib type system (binmode)
c:\unix on / type system (binmode)
c: on /c type system (binmode)
f: on /f type system (binmode)
h: on /h type system (binmode)
m: on /m type system (binmode)
u: on /u type system (binmode)
y: on /y type system (binmode)
x: on /x type system (binmode,noumount)
The directories C:\unix\f and C:\unix\y exist and were explicitly mounted.
The directory c:\unix\x does not; /x is an automagical (cygdrive) mount.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck-rsyncproblem.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020507/4a98245b/attachment.txt>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list