Skip to main content
LINUX FILE PERMISSIONS

Chmod 642

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

Owner

Read, Write

Group

Read

Public

Write

Frequently Asked Questions

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