bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13702: 24.3.50; dired-do-rename: Mysterious error "(file-error Getti


From: Paul Eggert
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]