What I really want to do is make every directory non-browse-able to the user
anonymous. I want anonymous to only be able to browse its home directory. So
I guess I would like to also change all subdirectories and the files within
them as well.

Something like:

chgrp -R anonymous /etc/

Now the only problem I have is I don't know what's going on with a command
like this. What would this (or whatever would be correct) do?

Again, thanks for your time.
Mithrilhall

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael Viron
Sent: February 13, 2002 11:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] group permissions


This depends on what exactly you mean to do.

Do you mean to change the group of all files / subdirectories of the
directory?  If so, you can use 'chgrp -R newgroup directoryname'.

Do you want to change only the ownership of the directory itself?
Use 'chgrp newgroup directoryname'.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida

At 02:07 AM 02/14/2002 -0800, you wrote:
>Could someone post an example showing how to change permissions for a
>certain group.
>
>Example:
>
>I have a group by the name of anonymous with one user name anonymous
>belonging in the group. I want to be able to set permissions for group
>anonymous on certain directories. If someone could post an example I would
>greatly appreciate it.
>
>Mithrilhall
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>Want to buy your Pack or Services from MandrakeSoft?
>Go to http://www.mandrakestore.com
>




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to