~/ 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/6c83174e-70ca-46c5-be0a-6f12bac2503a/flashcard utf-8 LF