| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| To: | cygwin AT cygwin DOT com |
| From: | "ErWagner" <erhard DOT wagner AT wagner-systems DOT de> |
| Subject: | BUG: 'cp -f ...' create an dir instead of a copy of e file! |
| Date: | Fri, 6 Aug 2004 13:23:53 +0200 |
| Lines: | 25 |
| Message-ID: | <cevpo9$una$1@sea.gmane.org> |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-Gmane-NNTP-Posting-Host: | p508b3cfe.dip.t-dialin.net |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1409 |
| X-IsSubscribed: | yes |
My actual revision Cygwin runs under Windows NT Ver 4.0 Build 1381 Service Pack 6 shell: BASH 2.05b cp doesn't work correct if the destination file do not exist the result is what I expect # result if y.log do not exist $ cp -f x.log y.log $ ls -rw-rw-rw- 1 ???????? ???????? 30 Aug 4 18:14 y.log # result if y.log already exist! $ cp -f x.log y.log cp: overwrite `y.log'? y cp: writing `y.log': Invalid request code $ ls drwxrwxrwx+ 2 ???????? ???????? 0 Aug 4 18:13 y.log/ # this works fine $ cp --remove-destination x.log y.log regards Erhard -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |