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   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to