X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 1 Apr 2010 16:13:46 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <659733.98534.qm@web94508.mail.in2.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
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@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 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

