Chmod 644 Linux Permissions (rw-r--r--)

chmod 644 sets permissions to rw-r--r--: Owner: Read, write (6), Group: Read only (4), Others: Read only (4). The owner can read and write to the file, while group members and public users can only read it. Execution is disallowed for all.

Owner (User) 6 (rw-)

Read, write

Group 4 (r--)

Read only

Others (Public) 4 (r--)

Read only

Bash Command Example

Security Notice

Recommended secure default for web documents (.html, .css, images), text files, and config assets.

Open the full tool: Full Chmod Calculator →

Linux Permissions Breakdown

Octal Symbolic Purpose
755 rwxr-xr-x Standard for directories and scripts
644 rw-r--r-- Standard for regular files
777 rwxrwxrwx Full permissions for everyone (insecure)
700 rwx------ Private owner directory
600 rw------- Private secret file
666 rw-rw-rw- Read and write for all
400 r-------- Read-only for owner

FAQ

How do I set permissions to 644 in Linux?

Run the command: chmod 644 <filename>. For directories and their contents recursively, run: chmod -R 644 <directory>.

Is chmod 644 secure?

Recommended secure default for web documents (.html, .css, images), text files, and config assets.

What does the symbolic code rw-r--r-- represent?

The 9 characters represent 3 triplets: Owner (rw-), Group (r--), and Others (r--). 'r' is read (4), 'w' is write (2), 'x' is execute (1), and '-' is disabled (0).

🔗 Share this page

TelegramWhatsAppX