~/ learn/ comp-325/ cards/ chmod: octal and symbolic
1 of 13

The same mode set two ways, listed after each command

The same mode set two ways, listed after each command

Answer

chmod 751 courses ls -ld courses chmod u=rwx,g=rx,o=x courses ls -ld courses

Both commands produce `drwxr-x--x`. The octal form states all nine bits; the three `=` clauses state each triple exactly, which comes to the same thing.

Sarwar & Koretsky 3e §5.5.2

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/1ee8de8c-7f41-458e-99cf-d212069aa140/flashcard utf-8 LF