Differences between revisions 2 and 3
Revision 2 as of 2009-01-21 17:38:57
Size: 852
Editor: tracker
Comment:
Revision 3 as of 2009-01-21 17:39:23
Size: 856
Editor: tracker
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
3. Type in chgrp -R newgroupname foldername 3. Type in ''chgrp -R newgroupname foldername''

How to change the group of a file want others to access

1. Go into terminal BR 2. Navigate to the folder you'd like to change permissions on using cd and ls. Use ls -l to find out what permissions currently exist on a certain file or folder. BR 3. Type in chgrp -R newgroupname foldername

  • (use -R if you want to change the permissions of everything in a certain folder, otherwise just type a filename) BR (for example to change the group of the RAs folder to staff, in p/hlp I would type chgrp -R staff RAs) BR

4. To change permissions on a certain file, Use the chmod command. It will take arguments like chmod g+w RAs . This would allow everyone in the group "staff" to write things in the RAs folder.

ChmodChgrp (last edited 2011-08-09 21:01:06 by echidna)

MoinMoin Appliance - Powered by TurnKey Linux