Bash and Linux 5 · Permissions

Set permissions with numbers

Owner read/write, everyone else read-only.

chmod 644 file.txt

Official Bash and Linux 5 documentation

More permissions commands

All permissions commands · Bash and Linux 5 cheatsheet

Was this page helpful?