nasty surprise with mv and locked [in use] directories

Corinna Vinschen cygwin@cygwin.com
Fri Jun 1 23:51:00 GMT 2001


On Fri, Jun 01, 2001 at 11:30:02PM -0700, Ben Wing wrote:
> with the new cygwin 1.3.2, if i try to `mv' a directory that's in use [e.g. i
> cd'd to it in another shell], it starts trying to copy the entire directory
> tree! [i don't know if the same problem was in cygwin 1.1, but i've never seen
> it before]
> 
> this seems like a nasty surprise to me -- and mv of all programs should *not*
> have any nasty surprises in it.  instead, you should simply get `access denied'.

Nice suggestion. Do you have a patch for that?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list