From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: "Renaming: permission denied" file-error in Windows Date: Sun, 11 Dec 2011 00:32:33 -0800 Organization: UCLA Computer Science Department Message-ID: <4EE46AA1.9010700@cs.ucla.edu> References: <4EE3F66D.2050003@bk.ru> <83vcpnllo3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323592365 1263 80.91.229.12 (11 Dec 2011 08:32:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2011 08:32:45 +0000 (UTC) Cc: LynX <_LynX@bk.ru>, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 09:32:40 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZepr-0005xo-WB for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2011 09:32:40 +0100 Original-Received: from localhost ([::1]:39304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZepr-0003gE-95 for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2011 03:32:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZepo-0003g9-R2 for emacs-devel@gnu.org; Sun, 11 Dec 2011 03:32:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZepo-0007Fp-3l for emacs-devel@gnu.org; Sun, 11 Dec 2011 03:32:36 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:46661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZepm-0007FU-Ju; Sun, 11 Dec 2011 03:32:34 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 87A4B39E800B; Sun, 11 Dec 2011 00:32:33 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J+OxDUK0LmuT; Sun, 11 Dec 2011 00:32:33 -0800 (PST) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3488039E8006; Sun, 11 Dec 2011 00:32:33 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 In-Reply-To: <83vcpnllo3.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146643 Archived-At: On 12/10/11 21:30, Eli Zaretskii wrote: > Does Emacs on Unix or GNU/Linux systems allow moving a directory to a > different filesystem? (I cannot test this where I'm typing this.) Yes it does. Emacs first tries to rename the directory, and when that fails (because rename fails with errno == EXDEV) it copies the directory recursively. > If not, the Windows behavior is not a bug.