unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: 13702@debbugs.gnu.org
Subject: bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getting ACL no such file or directory <existing file>)"
Date: Wed, 13 Feb 2013 10:39:20 +0100	[thread overview]
Message-ID: <878v6sr1rr.fsf@silenus.orebokech.com> (raw)
In-Reply-To: <8754AE4A-2597-41CC-84CA-673DE2229B7F@tzi.org> (Carsten Bormann's message of "Tue, 12 Feb 2013 22:51:13 +0100")

Carsten Bormann <cabo@tzi.org> 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
     }





  parent reply	other threads:[~2013-02-13  9:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 21:51 bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getting ACL no such file or directory <existing file>)" Carsten Bormann
2013-02-12 23:47 ` Glenn Morris
2013-02-13  9:39 ` Romain Francoise [this message]
2013-02-13 16:08   ` Eli Zaretskii
2013-02-14 22:41 ` Paul Eggert
2013-02-15 19:25   ` Romain Francoise
2013-03-30 10:04     ` Romain Francoise
2013-03-30 16:52       ` Paul Eggert
2013-04-07 11:27 ` bug#13702: Fixed in r112244 Romain Francoise
2013-04-07 16:20   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v6sr1rr.fsf@silenus.orebokech.com \
    --to=romain@orebokech.com \
    --cc=13702@debbugs.gnu.org \
    --cc=cabo@tzi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).