Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Ben Wing" To: Subject: Weird bug with cp -f Date: Sat, 2 Oct 2004 22:51:38 -0700 Message-ID: <000601c4a90d$0d18bad0$210110ac@NEEEEEEE> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i933o82e005020 Try this, latest Cygwin, Win2k latest: /xemacs/cygbuild/build-mule/src 2049% cat > foo foo [hit ^D] /xemacs/cygbuild/build-mule/src 2050% od -bc foo 0000000 146 157 157 015 012 f o o \r \n 0000005 /xemacs/cygbuild/build-mule/src 2051% cp foo bar /xemacs/cygbuild/build-mule/src 2052% cp -f foo bar cp: writing `bar': Invalid request code /xemacs/cygbuild/build-mule/src 2053% ls -ld bar drwxrwxrwx+ 2 Ben Wing None 0 Oct 2 22:40 bar/ /xemacs/cygbuild/build-mule/src 2054% Clever, no? Somehow, your file magically got converted into a directory ... -- 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/