On Wednesday 18 Jun 2008, Bharathi Subramanian wrote:
> One Day One GNU/Linux Command
> =============================
>
> chown -- CHange file OWNer and Group

>
> $ chown usr1:grp1 file1 -- Same as above. But `:' in place of the `.'
>

The following is also works when you want to default to the usr1's main 
group.

$ chown usr1: file1

$ cd /home; chown -R usr1: usr1  

works great when you mount /home with different distros that have 
different uid/gid for the same "lexical" user name.


-- 
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