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: Tue, 20 Nov 2012 05:44:37 +0200 Message-ID: <836251x7iy.fsf@gnu.org> References: <878v9yr1h1.fsf@silenus.orebokech.com> <833906z27z.fsf@gnu.org> <87a9udp8wq.fsf@silenus.orebokech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1353383104 23244 80.91.229.3 (20 Nov 2012 03:45:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 03:45:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 04:45:15 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 1Taelv-0003K6-11 for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2012 04:45:15 +0100 Original-Received: from localhost ([::1]:38536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taelk-0007wA-Mk for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 22:45:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taeli-0007v8-06 for emacs-devel@gnu.org; Mon, 19 Nov 2012 22:45:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Taelg-0002k6-Gz for emacs-devel@gnu.org; Mon, 19 Nov 2012 22:45:01 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taelg-0002jp-8N for emacs-devel@gnu.org; Mon, 19 Nov 2012 22:45:00 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MDR00J00OYGSH00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 20 Nov 2012 05:44:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDR00JE6P2YJ980@a-mtaout22.012.net.il>; Tue, 20 Nov 2012 05:44:58 +0200 (IST) In-reply-to: <87a9udp8wq.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.172 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:154975 Archived-At: > From: Romain Francoise > Date: Mon, 19 Nov 2012 22:41:57 +0100 > Cc: emacs-devel@gnu.org > > Do you think that a string-based interface is portable enough for > all platforms? I think so. There are functions like acl_to_text and acl_from_text to do that. > From what I can see, you can use a string interface on Windows to > set ACEs, but I'm no expert. Yes, I once wrote acl_from_text and acl_to_text for Windows. The strings look very differently from what you see with Posix ACLs, though, but I don't think this matters. > If it requires passing binary information, the new functions > wouldn't be general enough. I think binary data will be inconvenient in Lisp.