Cygwin 1.7 cannot access network share
Eric Blake
eblake@redhat.com
Wed Mar 3 13:23:00 GMT 2010
According to Ilya Beylin on 3/3/2010 12:42 AM:
> $ ls -l '\\HERA\shared\benchmarks\test'
> ls: cannot access \\hera\shared\benchmarks\test: Not a directory
Use POSIX-style paths, to see the difference.
$ ls -l //HERA/shared/benchmarks/test
>
> I do not quite understand what is going on; doesn't Cygwin uses Windows standard calls to access the network drives?
Yes, but only after translating POSIX-style names into windows style names
under the hood. Providing windows-style names up front tells cygwin to
take different code paths, and in particular, turns off some ACL work, and
you are on your own if a name with a backslash doesn't do what you wanted.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 320 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100303/d5f4f99d/attachment.sig>
More information about the Cygwin
mailing list