On Wednesday 18 Jun 2008, Balu manyam wrote:
> On Wed, Jun 18, 2008 at 10:45 AM, Arun Khan <[EMAIL PROTECTED]> wrote:
> > On Wednesday 18 Jun 2008, Arun Khan wrote:
> > > $ cd /home; chown -R usr1: usr1
> >
> > Oops.  should be
> >
> >        # cd /home; chown -R usr1: usr1

> if i recall correctly one needs to be careful with -R flag as if the
> dir contains symlinks chown -R may follow the symlink ? --  '-RH '
> may prevent this happenining

<from man page>
-H if a command line argument is a symbolic link to a directory, 
traverse it
-P do not traverse any symbolic links (default)
</from man page>

For the specific use case, the CLI above is fine as is, have not yet 
encountered symlinks in /home for user dirs.

-- 
Arun Khan

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to