delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 15 Dec 2008 21:54:06 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] chmod fails with windows path |
Message-ID: | <20081215205406.GA11434@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4946A1DF DOT 9020601 AT spiresoftware DOT com> <20081215185705 DOT GB6830 AT calimero DOT vinschen DOT de> <4946B8C4 DOT 5070100 AT byu DOT net> <loom DOT 20081215T202442-649 AT post DOT gmane DOT org> <20081215203247 DOT GC6830 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20081215203247.GC6830@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Dec 15 21:32, Corinna Vinschen wrote: > On Dec 15 20:25, Eric Blake wrote: > > Eric Blake <ebb9 <at> byu.net> writes: > > > > > Or, more accurately, a limitation of the coreutils .exe magic getting > > > thrown off by the switch to the new cygwin_conv_path. > > > > On further thought, chmod doesn't do .exe magic to begin with (cp, mv, and ln > > do, but not chmod). Maybe the culprit is the fact that coreutils uses fchmodat > > rather than chmod? > > Probably. One core test in the *at functions is the check for an > absolute path using something along the lines of `if (*path == '/' || > *path == '\\'). I never tested the *at functions with DOS paths. I > mean, who uses DOS paths when there are nice POSIX paths available... Fixed in CVS. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |