From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] POSIX ACL support Date: Mon, 19 Nov 2012 05:44:00 +0200 Message-ID: <833906z27z.fsf@gnu.org> References: <878v9yr1h1.fsf@silenus.orebokech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353296679 11266 80.91.229.3 (19 Nov 2012 03:44:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 03:44:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 04:44:47 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 1TaIHr-00066l-F5 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 04:44:43 +0100 Original-Received: from localhost ([::1]:48119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIHh-0008Rj-A6 for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 22:44:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIHc-0008RN-RK for emacs-devel@gnu.org; Sun, 18 Nov 2012 22:44:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaIHZ-0000uk-PS for emacs-devel@gnu.org; Sun, 18 Nov 2012 22:44:28 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:35319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIHZ-0000ue-Hd for emacs-devel@gnu.org; Sun, 18 Nov 2012 22:44:25 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MDP00N00U3I4K00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 19 Nov 2012 05:44:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDP00NIBUDZ4720@a-mtaout21.012.net.il>; Mon, 19 Nov 2012 05:44:24 +0200 (IST) In-reply-to: <878v9yr1h1.fsf@silenus.orebokech.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:154945 Archived-At: > From: Romain Francoise > Date: Sun, 18 Nov 2012 23:27:22 +0100 > > The following patch adds support for preserving POSIX ACL entries of > files, which at the moment are lost when Emacs saves a buffer (unless > `backup-by-copying' is set). This is a similar problem as preserving the > SELinux context, and as a consequence the implementation is also very > similar. > > Only the "portable" interface is used, I tested this patch successfully on > GNU/Linux (using libacl) and FreeBSD. > > Comments welcome! Thanks. I'd like to suggest to drop the "posix" part from the APIs, because that will make it easier to extend this support to other types of ACLs.