Search tools

Linux file permissions

chmod 744: what it means and when to use it

chmod 744 grants read, write and execute to the owner, while allowing group and others to read the file.

744 rwxr--r--
What chmod 744 allows for each class of user
WhoDigitRead WriteExecute
Owner 7 Yes Yes Yes
Group 4 Yes No No
Everyone else 4 Yes No No

How chmod 744 works

The owner can both edit and run the script, whereas other users can inspect the code (or copy it) without being able to run it directly from that path.

It fits personal utility scripts on a shared workstation when teammates may need to review how a tool works without executing it against your environment.

Where 744 belongs

  • Personal shell tools that teammates are allowed to read for reference
  • Owner-run build scripts stored in a readable project folder
  • Audited maintenance scripts restricted to the owner account

The command

Both of these set exactly the same permissions. The number is shorter; the letters are easier to read back later.

chmod 744 filename
chmod u=rwx,g=r,o=r filename

744 does not work well for directories because group and others cannot traverse a directory without the execute bit. Use 755 for readable folders.

Open 744 in the chmod calculator