delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/16/08:44:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 15 Dec 2008 19:57:05 +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: <20081215185705.GB6830@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>
MIME-Version: 1.0
In-Reply-To: <4946A1DF.9020601@spiresoftware.com>
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 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019