X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 15 Dec 2008 19:57:05 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [1.7] chmod fails with windows path
Message-ID: <20081215185705.GB6830@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4946A1DF.9020601@spiresoftware.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4946A1DF.9020601@spiresoftware.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Dec 15 10:28, Glenn Serre wrote:
> Good morning,
>
> In 1.7, using chmod with a Windows path fails is in the attached 
> chmod_output.txt.  Using a posix path works as expected.
>
> I can, of course, fix my makefile to not use windows paths, but it is a 
> change from previous behavior and seems inconsistent with the behavior of 
> other commands that do work on windows paths.
>
> So far, these commands work on windows paths
>
> ls
> getfacl
>
> and these don't
>
> chmod
> chown

> chmod +x e:/tmp/gimp/*.exe
> chmod: changing permissions of `e:/tmp/gimp/gimp-2.2.13-i586-setup-1.exe': No such file or directory
> chmod: changing permissions of `e:/tmp/gimp/gtk+-2.10.6-1-setup.exe': No such file or directory


This seems to be a problem in coreutils.  I just tried the chmod function
with DOS paths and it works as expected.


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/

