|
|
|
|
Setting Permissions "Hey, how do I stop people who are not in my group from reading a directory?"Type chmod o-r directory while you are in the directory above it. "I don't care if people in my group can read my directory, but I don't want them to write in it!" Type chmod g-w directory while you are in the directory above it. "Who is in my group?" In general, each domain has its own group. If you find you are in the group users, let us know if you wish for your domain to have its own group. "Tell me more about permissions!" To list the access permissions of a file or directory, type ls -ls *. r=read access, x=execute access, w=write access. The first three letters apply to you, the second three letters apply to your group, the last three letters apply to everyone else. Execute access enables you to run programs or enter directories. Examples of using chmod:
| |||||||