Web server file: 644
Owner: rw- · Group: r-- · Others: r--
chmod 644 filename
Calculate Unix file permissions visually and get the chmod octal and symbolic notation.
Octal
755
Symbolic
rwxr-xr-x
chmod 755 filenameWas this tool useful?
Unix file permissions control who can read, write, and execute a file. The three groups — owner (user), group, and others — each get a three-bit permission set represented as a digit from 0 to 7.
chmod 755 is the most common permission for executables and directories: the owner can do anything, and everyone else can read and execute but not write. chmod 644 is the standard for files: owner can read and write, everyone else can only read.
Owner: rw- · Group: r-- · Others: r--
chmod 644 filename
Owner: rwx · Group: r-x · Others: r-x
chmod 755 filename