Linux Permissions Builder

Build Linux file permissions visually. Tick read, write and execute for owner, group and others, then get the numeric chmod mode, symbolic mode and safe command examples.

Choose permissions

Who Read
4
Write
2
Execute
1
Owner
Group
Others

Result

Numeric 644
Symbolic rw-r--r--
Risk Normal

chmod command

Explanation

Common permission modes

  • 644 is common for regular website files.
  • 755 is common for directories and executable scripts.
  • 600 is useful for private files that only the owner should read and write.
  • 700 is useful for private directories or scripts.
  • 777 is usually too permissive and should not be used as a quick fix.

Be careful with recursive chmod

Recursive permission changes can break websites if used carelessly. A safer website pattern is usually separate commands for files and directories:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

Related learning