This is the mail archive of the
cygwin
mailing list for the Cygwin project.
overwriting an in-use executable
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 13 Dec 2009 08:19:26 +0000
- Subject: overwriting an in-use executable
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