File permissions
Explain read and write bits in octal form.
Explorer
Lesson goal
Explain read and write bits in octal form.
How it works
The three digits describe the owner, group, and others. Read is 4, write 2, and execute 1. Add the desired bits.
touch report.txt
chmod 640 report.txt
ls -lTry it
Inspect the file entry after chmod. The demo lists the octal mode.