delorie.com/archives/browse.cgi | search |
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 <eblake AT redhat DOT com> |
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: | <ABBC232CC7F1A34A8A97A2EA7A2D34C1EC158F AT somnus DOT sthlm DOT prover DOT com> |
In-Reply-To: | <ABBC232CC7F1A34A8A97A2EA7A2D34C1EC158F@somnus.sthlm.prover.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |