delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-transfer-encoding | |
:content-type:message-id:date:from:reply-to:to:subject | |
:references:in-reply-to; q=dns; s=default; b=Q4UjoTszsHG+c2wVYRV | |
li1C9i649+llLmrkWgrudobmP3iwnqRoyDEwiIrdlelkRYrMyN0kozuiUQCvdQaD | |
oPFBJVSQkl+6HUatnzVrpv6SFVL7R2V2lMGeiCWQoPvoZPApCGm2KChyqqOcaS+d | |
36gJmPkHvW/J4oIf4g+YhnJY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:content-transfer-encoding | |
:content-type:message-id:date:from:reply-to:to:subject | |
:references:in-reply-to; s=default; bh=AMdKLjHHscm1xtUn5Lirhj5br | |
to=; b=Hi5Tdkw+WdnugTTADPg+5YWNKqLiFwnOU+/lnEzkU/1MNMgzhklB6by2F | |
mEOqpDtSbMiB2ZffdBCyCPmWXyLrw90Pf82LnW7k4+/rpsdgQHrXKZvM/PLxkPS1 | |
+5e2KY/YQgdLJpCDVso1yzVAfPFrviJBEEzC+Zxem1RnhTGuKU= | |
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 |
X-Spam-SWARE-Status: | No, score=3.0 required=5.0 tests=AWL,BAYES_20,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1 |
MIME-version: | 1.0 |
Message-id: | <519A4F22.1030201@cygwin.com> |
Date: | Mon, 20 May 2013 12:28:18 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: BUG: Ability to access nonexistent directories |
References: | <000201ce52c4$891b04c0$9b510e40$%fedin AT samsung DOT com> <20130517083612 DOT GE21752 AT calimero DOT vinschen DOT de> <000d01ce52dc$74e54bb0$5eafe310$%fedin AT samsung DOT com> <20130517102655 DOT GG21752 AT calimero DOT vinschen DOT de> <20130517145612 DOT GC7087 AT ednor DOT casa DOT cgf DOT cx> <001a01ce5550$9e20afd0$da620f70$%fedin AT samsung DOT com> <519A3E58 DOT 4010609 AT cygwin DOT com> <AF416313505341088247FB0EF502C1CA AT ahallpc> |
In-reply-to: | <AF416313505341088247FB0EF502C1CA@ahallpc> |
On 5/20/2013 11:58 AM, Andy Hall wrote: <snip> > So here is a naïve question. Contrary to Corrina’s posting at > http://cygwin.com/ml/cygwin/2013-01/msg00173.html, the underlying OS > must effectively evaluate a path from left to right. As you say, it's a naive question. Just checking around the web for information on "bypass traverse checking" would help you understand things better. This setting is on by default for Windows users. This defines the behavior of how paths are traversed in Windows. When the flag is enabled, Windows allows a user to traverse through directories that he/she has no rights to use in any other way. A side-effect is that it doesn't even check if the directory in question exists. Don't believe me? Try the below in a command prompt (i.e. cmd.exe): C:\tmp>mkdir -p a\c C:\tmp\a\c>dir a Volume in drive C is Default Volume Serial Number is <redacted> Directory of C:\tmp\a\c C:\tmp\a\c>dir a\b The system cannot find the file specified. C:\tmp>cd a\b\..\c C:\tmp\a\c> So I think we can take Corinna's assessment of how Windows manages things in this case as valid. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |