On Sun, 02 Feb 2003 07:31:21 +1100
Stephen Kuhn <[EMAIL PROTECTED]> wrote:

> On Sun, 2003-02-02 at 02:15, Anne Wilson wrote:
> > I see the following:
> > 
> > chown [-R] [user][.][group] files
> > 
> > from which I gather that a space goes after the -R, but not between
> > the other components?
> > 
> > What does the [.] stand for?
> > 
> > Anne
> 
> Here's a "for instance"
> 
> chown -Rf nobody:netusers /home/shared_drive/*

Take care with the recursive option (-R) on a directory structure.

I recently got caught out big time and changed the ownership of my WHOLE
/home (Only 8Gb!! and 7 users to fix - took days!!)

This commandline _could_ do this too! Especially if being run as root.

If you are intending only to change the ownership of the files _below_
/home/shared_drive you should omit the the training '/*' because any
symbolic links you have in that structure could be followed into other
structures!!

Forewarned - Forearmed

Cheers

John


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

Reply via email to