Differences between revisions 1 and 2
Revision 1 as of 2009-01-21 17:38:24
Size: 824
Editor: tracker
Comment:
Revision 2 as of 2009-01-21 17:38:57
Size: 852
Editor: tracker
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
1. Go into terminal
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.
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]]
Line 10: Line 10:
 (use -R if you want to change the permissions of everything in a certain folder, otherwise just type a filename)
 (for example to change the group of the RAs folder to staff, in p/hlp I would type chgrp -R staff RAs)
 (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]]

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