8.10 Flashcards
User (the owner of the file)
u
Group (any member of the file’s defined group)
g
Other (anyone else)
o
All (equivalent to all of the above - u, g, and o)
a
Displays the current umask setting. The -S switch indicates that a symbolic representation of a mask will be used.
umask
or
umask -S
Changes the default umask a number between 000 and 777.
umask number
Changes the default umask a symbolic representation of a mask.
umask symbol
Use Directory Result File Resul
0 rwx rw-
no premission
Use Directory Result File Resul
1 rw- rw-
executive permissions
use 2, directory result r-x file result rw-
write permission
user 3, directory resultr–
file result r–
use 4, -wx, file result -w-
read permission
use 5, directory -w-, file result -w-
read and ecevute program
use 6, directory result –x, file result —
read and write permissions