delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/01/07:32:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <162981.6949.qm@web25507.mail.ukl.yahoo.com>
Date: Thu, 1 Apr 2010 12:32:13 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: chmod fails for MS-DOS style path in cygwin 1.7.2-2
To: cygwin AT cygwin DOT com, prakash babu <jprakashbabu AT yahoo DOT co DOT in>
In-Reply-To: <659733.98534.qm@web94508.mail.in2.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

--- Gio 1/4/10, prakash babu  ha scritto:

> I am using cygwin 1.7.2-2 and chmod
> fails for MS-DOS style path with the following error
> message.
>=20
> eg: chmod 755 C:\\FileName

you should use POSIX style

chmod 755 $(cygpath -u C:\\FileName)

or=20

chmod 755 /cygdrive/c/FileName

> =A0
> 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
> =A0
> This used to work in cygwin 1.5 .=A0=20
> =A0
> Is there any workaround available for this currently ?
> =A0
> Is this a bug in 1.7 which will be fixed in the upcoming
> versions ?
> =A0
> thanks,
> Prakash
>=20

Regards
Marco






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