~/ 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/ee4c85a1-06c2-44dd-87ea-a33d70722625/flashcard utf-8 LF