~/ learn/ comp-325/ cards/ umask and default permissions
1 of 13

Read the mask both ways

Read the mask both ways

Answer

umask umask -S

The first prints four octal digits, e.g. `0022` — the bits withheld. The second prints the same mask as the permissions that are left, e.g. `u=rwx,g=rx,o=rx`.

Sarwar & Koretsky 3e §5.5.4

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/5a7833c8-fff8-4ef9-b42d-acbcad733ef6/flashcard utf-8 LF