X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 13 Dec 2009 08:19:26 +0000 Message-ID: <416096c60912130019s5188fdd9w2f561005ba2c8c69@mail.gmail.com> Subject: overwriting an in-use executable From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 cp and mv behave differently when trying to overwrite an in-use executable: $ cp mintty.exe /bin cp: cannot create regular file `/bin/mintty.exe': Device or resource busy $ mv mintty.exe /bin [works fine] That's on 1.7. On 1.5, both cp and mv fail. Is that as expected? Andy -- 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