From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: suggestion for set-file-modes Date: Sun, 17 Feb 2008 11:21:28 +0900 Message-ID: <87y79kqq53.fsf@catnip.gol.com> References: <200801201812.m0KICxYl009632@sallyv1.ics.uci.edu> <871w7jqiic.fsf@cadilhac.name> <200802112200.m1BM0pke028675@sallyv1.ics.uci.edu> <87r6fjoybf.fsf@cadilhac.name> <87y79ku2tf.fsf@jurta.org> <87r6fc33g5.fsf@cadilhac.name> <87ir0oscs1.fsf@jurta.org> <87lk5k30cz.fsf@cadilhac.name> <873arso1bv.fsf@jurta.org> <874pc8s82w.fsf@catnip.gol.com> <87tzk8l671.fsf@jurta.org> <877ih42v9h.fsf@cadilhac.name> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203214911 26322 80.91.229.12 (17 Feb 2008 02:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 02:21:51 +0000 (UTC) Cc: Juri Linkov , Dan Nicolaescu , emacs-devel@gnu.org To: michael@cadilhac.name (=?utf-8?Q?Micha=C3=ABl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 03:22:15 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQZAU-0006b8-D4 for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 03:22:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQZ9z-0000i4-WF for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 21:21:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQZ9w-0000hz-53 for emacs-devel@gnu.org; Sat, 16 Feb 2008 21:21:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQZ9t-0000hn-Ow for emacs-devel@gnu.org; Sat, 16 Feb 2008 21:21:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQZ9t-0000hk-KK for emacs-devel@gnu.org; Sat, 16 Feb 2008 21:21:37 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQZ9p-0003Qt-GT; Sat, 16 Feb 2008 21:21:34 -0500 Original-Received: from 203-216-97-023.dsl.gol.ne.jp ([203.216.97.23] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1JQZ9n-0002PB-6i; Sun, 17 Feb 2008 11:21:31 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 3924C2FF7; Sun, 17 Feb 2008 11:21:29 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <877ih42v9h.fsf@cadilhac.name> (=?utf-8?Q?=22Micha=C3=ABl?= Cadilhac"'s message of "Sat, 16 Feb 2008 21:04:42 -0500") Original-Lines: 22 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89305 Archived-At: michael@cadilhac.name (Micha=C3=ABl Cadilhac) writes: >> That would be nice, maybe with separating every part even with the same >> permissions, e.g. "u=3Drwx,g=3Drwx,o=3Drw" for less editing when the use= r and >> group part need different permissions. > > Well, what if I need to remove writing rights for everybody? There's > no canonical notation (why not `ugo=3Drw,ug+x', or `ugo=3Drwx,o-x'?), and > it'd be painful for the user to first read the mode to see if it fits > his needs, modify them if it's the case or apply a `,a-w' mask after if > it isn't. Geez, don't over-complicate things. There's a perfectly good symbolic mode-input notation, easy to use and easy enough to parse, we should use it. If we want to restrict it to the absolute forms (using "=3D", not + or -) for simplicity, that's fine too. -Miles --=20 Defenceless, adj. Unable to attack.