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 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> <20081215203247 DOT GC6830 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: 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 On Dec 15 21:32, Corinna Vinschen wrote: > On Dec 15 20:25, Eric Blake wrote: > > Eric Blake 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/