On 29 October 2013 11:59, Naresh Tharun <nareshs...@gmail.com> wrote:

> On 10/28/13, Dhana Sekar <tkdhanase...@gmail.com> wrote:
> > command: chgrp
> > usage: change group ownership
> >
> > syntax: # chgrp [options] newgroup filename/directoryname
> >
> > example:
> >
> > 1. To change a file sample.txt from root group to a new group
> >     named 'group2'
> >
> >     # chgrp group2 sample.txt
> >
> > 2. To change the files and its subdirectories of a directory named
> > 'test' from root group to new
> >     group 'newgroup'
> >
> >     # chgrp -R newgroup test
> >
> > 3. To change the group for the specific file test.txt
> >
> >     # chgrp -c newgroup test.txt
> >
> > 4. To use the group value of another file instead of specifying
> explicitly
> >
> >     # chgrp --reference=/home/dhana/sample.txt sample.txt
> >
> > regards,
> > dhanasekar
> > _______________________________________________
> > ILUGC Mailing List:
> > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> > ILUGC Mailing List Guidelines:
> > http://ilugc.in/mailinglist-guidelines
> >
> >
> thanks for ur 1D1C sir,
>
> i also need some more command on chmod with sticky bit permissions sir
> kindly give some commands on that .
>
> regards
> naresh.v
>

I typed:
 chmod sticky
into google and the second link is:
http://computernetworkingnotes.com/managing-file-system-security/sticky-bit.html
-- 
Asokan Pichai
*-------------------*
We will find a way. Or, make one. (Hannibal)

*To find everything profound — that is an inconvenient trait.* It makes one
strain one's eyes all the time, and in the end one finds more than one
might have wished. -- Nietzsche
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to