|
Default permission for files is 666
Default permission for directories is 777
umask is subtracted from default to determine new file/directory permissions
Non-privileged users' umask is 002
- Files will have permissions of 664
- Directories will have permissions of 775
root's umask is 022
|