Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie question, probably very easy

Status
Not open for further replies.

srmillward

Programmer
Jun 13, 2003
19
US
HI

I am wanting to use chown to change the owner of the files / folder in my id to the group I am in, so others in teh group can access them and make changes.

what variation of chown do I use ?

cheers
 
Either chown :groupname filename or chgrp groupname filename should do it, if the OS policy permits. You will also need to set the permissions you want (i.e. group read/write) to grant them using chmod g+rw filename.

Annihilannic.
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top