Slippery Rock University | Dr. Deborah Whitfield | Go Browns! |
chmod | chgrp | chown | ln | umask | find |
Commands
Recall
Permissions for chmod
-rw-r---- | This ordinary file can be viewed by the owner and anyone in the group. It can be changed by the owner only. |
-rw-r--r- | This ordinary file can be viewed by anyone and can be changed by the owner only. |
-rwxr-xr-x | Ditto. But this file can also be executed by anyone |
drwxrwxrwx | This directory allows anyone to cd into it, and to create or delete files. Dangerous. |
drwxr-xr-x | This directory allows full access to the owner. All others can cd into it and list the files it contains. |
lrwxrwxrwx | This file is a symbolic link to the directory /tmp |
Links
Umask and Find
All work herein is subject to copyright. Original content to Dr. Deborah Whitfield, text content (Your unix/Linux) to Prentice Hall publishing.