[CentOS] Permission problem

JohnS jses27 at gmail.com
Tue Jul 7 16:58:10 UTC 2009


On Tue, 2009-07-07 at 13:45 +0200, Niki Kovacs wrote:

> /home/pub
> 
> and
> 
> /home/echange
> 
> Then, I created two groups, "administrators" and "agents". Here's what 
> I'd like to achieve (but I think my IQ is just below the required limit 
> :oD):
> 
> 1) Members of the "administrators" group have unlimited read/write 
> access to /home/pub and below.
> 
> 2) Members of the "agents" group have read-only access to /home/pub and 
> below.
> 
> 3) All the others (that is, members of neither "administrators" and 
> "agents") have no access at all to /home/pub, not even for listing the 
> directory content.
> 
> The thing is: I can't seem to formulate my problem in terms of 
> user/group/others, as there are no owners, but two distinct groups 
> involved.
> 
> Any idea how to crack that nut?
> 
---
You just Cracked that Nut Yourself! You know what you want to do. You
layed it out think. man chown and man chmod is your friends chgrp also.

John




More information about the CentOS mailing list