delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/08/16:19:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <BLU152-W26F54627DEBFF08480143BCEEC0@phx.gbl>
From: Aaron Schneider <notstop AT users DOT sourceforge DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: Inconsistence on file operation when the name already exists with exe extension
Date: Sun, 8 Jul 2012 20:19:26 +0000
In-Reply-To: <BLU152-W250F4120B3650DBD65E5D2CEEC0@phx.gbl>
References: <BLU152-W250F4120B3650DBD65E5D2CEEC0 AT phx DOT gbl>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q68KJj7M011249

--On an empty dir--:

touch file.exe

touch file.img

touch file doesn't create the corresponding file.

--Then--

touch helpp

cp helpp file

cp: can't create regular file «file»: File exists

On rm file it removes the file.exe instead of saying file not found.

Is this behavior intended? This is not unix like, the filename should be preserved as is
 		 	   		  

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