delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/01/09:14:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 1 Apr 2010 16:13:46 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: chmod fails for MS-DOS style path in cygwin 1.7.2-2
Message-ID: <20100401141346.GE18364@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <659733 DOT 98534 DOT qm AT web94508 DOT mail DOT in2 DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <659733.98534.qm@web94508.mail.in2.yahoo.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Apr  1 14:09, prakash babu wrote:
> I am using cygwin 1.7.2-2 and chmod fails for MS-DOS style path with the following error message.
> 
> eg: chmod 755 C:\\FileName
>  
> cygwin warning: MS-DOS style path detected: C:\FileName
> Preferred POSIX equivalent is: /cygdrive/c/FileName
> CYGWIN environment variable option "nodosfilewarning" turns off this warning.
> Consult the user's guide for more details about POSIX paths:
> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>  
> This used to work in cygwin 1.5 .  
>  
> Is there any workaround available for this currently ?
>  
> Is this a bug in 1.7 which will be fixed in the upcoming versions ?

It's a deliberate change, see
http://cygwin.com/ml/cygwin-announce/2010-03/msg00018.html

  "Handle native DOS paths always as if mounted with "posix=0,noacl".


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


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