GNU bug report logs -
#13702
24.3.50; dired-do-rename: Mysterious error "(file-error Getting ACL no such file or directory <existing file>)"
Previous Next
Reported by: Carsten Bormann <cabo <at> tzi.org>
Date: Tue, 12 Feb 2013 21:53:02 UTC
Severity: normal
Found in version 24.3.50
Done: Romain Francoise <romain <at> orebokech.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 13702 <at> debbugs.gnu.org (full text, mbox):
Carsten Bormann <cabo <at> 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
}
This bug report was last modified 12 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.