emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2] POSIX ACL support


From: Michael Albinus
Subject: Re: [PATCH v2] POSIX ACL support
Date: Fri, 07 Dec 2012 09:19:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Romain Francoise <address@hidden> writes:

> Hi Eli,

Hi,

>>> +DEFUN ("file-acl", Ffile_acl, Sfile_acl, 1, 1, 0,
>>> +       doc: /* Return ACL entries of file named FILENAME, as a string.
>>> +Return nil if file does not exist or is not accessible, or if Emacs was
>>> +not compiled with ACL support.  */)
>
>> The last sentence of the doc string is inaccurate, because remote
>> files are supported even if Emacs was not built with ACL support.
>
> Yes... if there's an implementation of file-acl for the remote handler.
> This bit was inherited from the SELinux functions, which have a similar
> docstring. I'm not sure how to phrase it better, though.

| Return nil if file does not exist or is not accessible, or if Emacs is
| not able to determine the ACL entries.  The latter happens, if Emacs was
| not compiled with ACL support, or a remote file handler returns nil
| ACL entries.  */)

Similar wording could be applied to file-selinux-context and
set-file-selinux-context.

Once the patch is installed in the trunk (i.e., the interface is
stabilized), I will try to implement corresponding file name handlers.

> Thanks!

Best regards, Michael.



reply via email to

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