From: Paul Eggert <eggert@cs.ucla.edu>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 17810@debbugs.gnu.org
Subject: bug#17810: 24.3.91; file-acl does not return ACL on Mac OS X
Date: Thu, 19 Jun 2014 23:35:52 -0700 [thread overview]
Message-ID: <53A3D648.9080501@cs.ucla.edu> (raw)
In-Reply-To: <wla999ji99.wl%mituharu@math.s.chiba-u.ac.jp>
[-- Attachment #1: Type: text/plain, Size: 127 bytes --]
Thanks for the bug report. Does the attached patch fix things for you?
I can't easily test it myself, as I don't use OS X.
[-- Attachment #2: acl.diff --]
[-- Type: text/plain, Size: 593 bytes --]
=== modified file 'src/fileio.c'
--- src/fileio.c 2014-06-08 00:59:05 +0000
+++ src/fileio.c 2014-06-20 06:30:09 +0000
@@ -3013,6 +3013,9 @@
acl_t acl;
Lisp_Object acl_string;
char *str;
+# ifndef HAVE_ACL_TYPE_EXTENDED
+ acl_type_t ACL_TYPE_EXTENDED = ACL_TYPE_ACCESS;
+# endif
#endif
absname = expand_and_dir_to_file (filename,
@@ -3027,7 +3030,7 @@
#ifdef HAVE_ACL_SET_FILE
absname = ENCODE_FILE (absname);
- acl = acl_get_file (SSDATA (absname), ACL_TYPE_ACCESS);
+ acl = acl_get_file (SSDATA (absname), ACL_TYPE_EXTENDED);
if (acl == NULL)
return Qnil;
next prev parent reply other threads:[~2014-06-20 6:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 10:39 bug#17810: 24.3.91; file-acl does not return ACL on Mac OS X YAMAMOTO Mitsuharu
2014-06-20 6:35 ` Paul Eggert [this message]
2014-06-21 3:48 ` YAMAMOTO Mitsuharu
2014-06-21 7:04 ` Paul Eggert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53A3D648.9080501@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=17810@debbugs.gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.