mv does copy instead of rename

Richard Foulk richard@skydive1.com
Sat Jun 3 23:10:00 GMT 2006


In an Active Directory environment Windows Explorer was refusing to
rename a directory, presumably because the directory was open by
another process.

On trying mv under Cygwin to rename the directory, mv seemed to just
hang.  It was a large directory and mv was actually copying the files
to the new named directory (on the same partition.)

Does this seem like appropriate behaviour?  It was certainly unexpected.

I'm pretty sure mv is never supposed to do this on Unix.


Richard

--
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/



More information about the Cygwin mailing list