Skip to main content
LINUX FILE PERMISSIONS

Chmod 772

The chmod code 772 sets the following permissions: The Owner has Read, Write, Execute permissions. The Group has Read, Write, Execute permissions. The Public (Others) has Write permissions.

$chmod 772 myfile.txt(Or inspect via CLI: npx castov chmod 772)
Interactive Chmod Calculator →

Owner

Read, Write, Execute

Group

Read, Write, Execute

Public

Write

Frequently Asked Questions

What are the permissions for chmod 772?
The chmod code 772 sets the following permissions: The Owner has Read, Write, Execute permissions. The Group has Read, Write, Execute permissions. The Public (Others) has Write permissions.
How do you set chmod 772?
You can set these permissions by running the command: chmod 772 filename
Is chmod 772 secure?
It depends on the exact digits, but generally you should follow the principle of least privilege.