xfs
[Top] [All Lists]

Re: chacl questions

To: jijo@xxxxxxxxxxxxxxxxxxxx (Federico Sevilla III)
Subject: Re: chacl questions
From: Tad Dolphay <tbd@xxxxxxx>
Date: Tue, 17 Jul 2001 09:59:41 -0500 (CDT)
Cc: linux-xfs@xxxxxxxxxxx (Linux XFS Mailing List)
In-reply-to: <Pine.LNX.4.21.0107172125090.467-100000@kalapati.leathercollection.local> from "Federico Sevilla III" at Jul 17, 2001 09:29:01 PM
Sender: owner-linux-xfs@xxxxxxxxxxx
> 
> Hi everyone,
> 
> I wonder what's wrong with the way I'm doing things.
> 
> I create a directory "test", owned by root, group root, perms u=rwx,g=,o=.
> I want to allow user "jijo" to access this, too, but to only read it, I
> try the following:
> 
> chacl u::rwx,g::,o::,u:jijo:r-x,m::r-x test
> 
> But it says:
> 
> chacl: "u::rwx,g::,o::,u:jijo:r-x,m::r-x" is an invalid ACL specification.
> 
> 'chacl -l test' output: test[] which (I think) verifies that ACLs are
> enabled and work.
> 
> What am I doing wrong? Also, is it possible to just add an ACL? Let's say
> I already have ACLs set up, and just want to enable someone else to read
> and access this file, how do I do this? Do I have to list everyone else?
> Or if I want to revoke access from someone?
> 
chacl u::rwx,g::---,o::---,u:jijo:r-x,m::r-x test
                ^^^    ^^^
I think you need to add the (empty) permissions. Yes, I think you need to 
list everyone on the chacl line.

Tad
> It's my first time to handle ACLs. I hope you guys can be patient with
> this newbie. :) :)
> 
>  --> Jijo
> 
> --
> Federico Sevilla III  :: jijo@xxxxxxxxxxxxxxxxxxxx
> Network Administrator :: The Leather Collection, Inc.
> 


<Prev in Thread] Current Thread [Next in Thread>