chmod 777 file
Full permissions for everyone (rwxrwxrwx). Use with extreme caution.
Dangerous
chmod 755 file
Standard for executables and directories. Owner can read/write/execute; group and others can read/execute.
Common
chmod 644 file
Standard for files. Owner can read/write; group and others can only read.
Common
chmod 600 file
Owner only — read and write. Perfect for private keys and sensitive config files.
Private
chmod 700 file
Owner only — full access. No one else can do anything.
Private
chmod 400 file
Owner read-only. Immutable from owner's perspective (unless root).
chmod 444 file
Read-only for everyone. Useful for published files.
chmod 750 file
Owner full access, group read+execute, others nothing. Good for shared executables.
chmod 660 file
Owner and group can read/write, others no access. Good for shared files.
chmod 640 file
Owner read+write, group read-only, others nothing. Conservative file sharing.
chmod -R 755 directory
Recursively apply 755 to directory and all contents. Common for web roots.
Recursive
chmod -R u+rwX,go+rX,go-w directory
Smart recursive: files get 644, directories get 755, executables keep execute.
RecursiveSmart