unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: 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: Thu, 14 Feb 2013 14:41:29 -0800	[thread overview]
Message-ID: <511D6819.9030401@cs.ucla.edu> (raw)
In-Reply-To: <8754AE4A-2597-41CC-84CA-673DE2229B7F@tzi.org>

Many other error numbers should be checked for.
Here's what Gnulib's acl-internal.h says on the subject, right now:

/* Recognize some common errors such as from an NFS mount that does
   not support ACLs, even when local drives do.  */
#if defined __APPLE__ && defined __MACH__ /* Mac OS X */
# define ACL_NOT_WELL_SUPPORTED(Err) \
     ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == ENOENT)
#elif defined EOPNOTSUPP /* Tru64 NFS */
# define ACL_NOT_WELL_SUPPORTED(Err) \
     ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == EOPNOTSUPP)
#else
# define ACL_NOT_WELL_SUPPORTED(Err) \
     ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY)
#endif


Maybe Emacs should steal this macro.  Or we can change Gnulib
to publish it and then use the relevant Gnulib module.





  parent reply	other threads:[~2013-02-14 22:41 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
2013-02-13 16:08   ` Eli Zaretskii
2013-02-14 22:41 ` Paul Eggert [this message]
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=511D6819.9030401@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=13702@debbugs.gnu.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).