From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.bugs Subject: bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getting ACL no such file or directory )" Date: Wed, 13 Feb 2013 10:39:20 +0100 Organization: orebokech dot com Message-ID: <878v6sr1rr.fsf@silenus.orebokech.com> References: <8754AE4A-2597-41CC-84CA-673DE2229B7F@tzi.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360748383 16600 80.91.229.3 (13 Feb 2013 09:39:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 09:39:43 +0000 (UTC) Cc: 13702@debbugs.gnu.org To: Carsten Bormann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 13 10:40:04 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5Yop-00049T-NB for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Feb 2013 10:39:59 +0100 Original-Received: from localhost ([::1]:39505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5YoW-0005rU-9k for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Feb 2013 04:39:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5YoS-0005qx-AL for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 04:39:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5YoO-0005yv-Bz for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 04:39:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5YoO-0005yr-8J for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 04:39:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5Yos-0001wK-D3 for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 04:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Romain Francoise Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13702 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13702-submit@debbugs.gnu.org id=B13702.13607483967440 (code B ref 13702); Wed, 13 Feb 2013 09:40:02 +0000 Original-Received: (at 13702) by debbugs.gnu.org; 13 Feb 2013 09:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:53276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Yol-0001vw-C0 for submit@debbugs.gnu.org; Wed, 13 Feb 2013 04:39:55 -0500 Original-Received: from stringer.orebokech.com ([88.190.240.207]:42463) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5Yoi-0001vn-3K for 13702@debbugs.gnu.org; Wed, 13 Feb 2013 04:39:53 -0500 Original-Received: from silenus.orebokech.com (silenus [192.168.1.4]) by stringer.orebokech.com (Postfix) with ESMTP id 4E17118805B6; Wed, 13 Feb 2013 10:39:20 +0100 (CET) Original-Received: by silenus.orebokech.com (Postfix, from userid 1000) id 33D749FBBC; Wed, 13 Feb 2013 10:39:20 +0100 (CET) In-Reply-To: <8754AE4A-2597-41CC-84CA-673DE2229B7F@tzi.org> (Carsten Bormann's message of "Tue, 12 Feb 2013 22:51:13 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71165 Archived-At: Carsten Bormann writes: > Move `/Users/cabo/demo0/y' to `/net/ull.local/Volumes/buf2b/demo1/y' failed: > (file-error Getting ACL no such file or directory /Users/cabo/demo0/y) Thanks for the report. Google suggests that on Darwin, getting ENOENT from acl_get_fd() means that the associated file doesn't have an ACL: http://lists.apple.com/archives/darwin-dev/2009/Jan/msg00001.html So the following patch will probably fix things for you: diff --git a/src/fileio.c b/src/fileio.c index 89ad339..29c8bf5 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2090,7 +2090,7 @@ entries (depending on how Emacs was built). */) #ifdef HAVE_POSIX_ACL acl = acl_get_fd (ifd); - if (acl == NULL && errno != ENOTSUP) + if (acl == NULL && errno != ENOTSUP && errno != ENOENT) report_file_error ("Getting ACL", Fcons (file, Qnil)); #endif }