From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v2] POSIX ACL support Date: Fri, 07 Dec 2012 09:19:09 +0100 Message-ID: <87d2ym1dhe.fsf@gmx.de> References: <87zk1wxlto.fsf@silenus.orebokech.com> <83boe9r1lw.fsf@gnu.org> <87zk1rm0b9.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354868371 3683 80.91.229.3 (7 Dec 2012 08:19:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2012 08:19:31 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 07 09:19:43 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tgt9q-0004YC-SN for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2012 09:19:42 +0100 Original-Received: from localhost ([::1]:41892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgt9e-00012U-MD for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2012 03:19:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgt9W-00011A-HF for emacs-devel@gnu.org; Fri, 07 Dec 2012 03:19:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgt9V-0001t9-HE for emacs-devel@gnu.org; Fri, 07 Dec 2012 03:19:22 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:55506) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Tgt9V-0001oH-6M for emacs-devel@gnu.org; Fri, 07 Dec 2012 03:19:21 -0500 Original-Received: (qmail invoked by alias); 07 Dec 2012 08:19:18 -0000 Original-Received: from p57BB95A4.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.164] by mail.gmx.net (mp017) with SMTP; 07 Dec 2012 09:19:18 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+nBUlNnUynRRxtyKD6zugp89eI2fl3wZBdzqTt4X snnzMHGdD/MkRO In-Reply-To: <87zk1rm0b9.fsf@silenus.orebokech.com> (Romain Francoise's message of "Thu, 06 Dec 2012 20:45:46 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155332 Archived-At: Romain Francoise 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.