Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f6I1Txh19975 for linux-xfs-outgoing; Tue, 17 Jul 2001 18:29:59 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f6I1TvV19954 for ; Tue, 17 Jul 2001 18:29:57 -0700 Received: from boing.melbourne.sgi.com (boing.melbourne.sgi.com [134.14.55.141]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id DAA400914 for ; Wed, 18 Jul 2001 03:29:40 +0200 (CEST) mail_from (tes@boing.melbourne.sgi.com) Received: (from tes@localhost) by boing.melbourne.sgi.com (SGI-8.9.3/8.9.3) id LAA34621; Wed, 18 Jul 2001 11:28:35 +1000 (EST) Date: Wed, 18 Jul 2001 11:28:35 +1000 From: Timothy Shimmin To: Andi Kleen Cc: Federico Sevilla III , Linux XFS Mailing List Subject: Re: [PATCH] Re: chacl question Message-ID: <20010718112834.R11622@boing.melbourne.sgi.com> References: <20010717165543.A21737@gruyere.muc.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <20010717165543.A21737@gruyere.muc.suse.de>; from ak@suse.de on Tue, Jul 17, 2001 at 04:55:43PM +0200 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk On Tue, Jul 17, 2001 at 04:55:43PM +0200, Andi Kleen wrote: > On Tue, Jul 17, 2001 at 09:29:01PM +0800, Federico Sevilla III wrote: > > But it says: > > > > chacl: "u::rwx,g::,o::,u:jijo:r-x,m::r-x" is an invalid ACL specification. > > You cannot have multiple 'u' specifikations. Yes you can :) You can't have multiple USER_OBJ ACE specifications (i.e. 'u::') but you certainly need multiple USER ACE specs (hence the multiple 'u'). As already pointed out, you need permissions specified for all ACEs (i.e. for GROUP and OTHER as well). > > Similar problems have also annoyed, annoyed me enough to produce the following > patch which adds somewhat usable error reporting to libacl. > > Just apply it below cmd/chacl and get at least usable error messages. > > It also fixes one bug in the manpage. Thanks. I'll have a look over it soon, run the qa tests and check it in...:) --tim