Skip to main content
LINUX FILE PERMISSIONS

Chmod 122

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

Owner

Execute

Group

Write

Public

Write

Frequently Asked Questions

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