X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_FAIL X-Spam-Check-By: sourceware.org Message-ID: <4B8E5D9A.6010502@redhat.com> Date: Wed, 03 Mar 2010 06:01:14 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, ilya DOT beylin AT prover DOT com Subject: Re: Cygwin 1.7 cannot access network share References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig499CAE025C80EBD77E763B96" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig499CAE025C80EBD77E763B96 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 >=20 > I do not quite understand what is going on; doesn't Cygwin uses Windows s= tandard 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. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig499CAE025C80EBD77E763B96 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuOXZsACgkQ84KuGfSFAYDaTgCgm+tq2DqCfX5JiCM2Ij08vrTr n+gAoLb74BKe2fj1s4v6pLO3UVpHxajH =kk7/ -----END PGP SIGNATURE----- --------------enig499CAE025C80EBD77E763B96--