X-Spam-Check-By: sourceware.org From: Richard Foulk Message-Id: <200606032223.k53MNS0f019743@sd.skydive1.com> Date: Sat, 03 Jun 2006 12:23:28 -1000 To: cygwin AT cygwin DOT com Subject: mv does copy instead of rename References: <1149361203 DOT 19613 DOT ezmlm AT cygwin DOT com> In-Reply-To: <1149361203.19613.ezmlm@cygwin.com> User-Agent: nail 11.20 1/13/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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/