Paul Underwood
PaulundSoftware Engineer

Chmod Calculator

OwnerGroupOthers
Read (4)
Write (2)
Execute (1)
chmod 000 file_name

What is Chmod?

Chmod is a command in Linux and other Unix-like operating systems that allows to control access to files and directories. In this tool you can use the checkboxes to select the permissions you want to give to the owner, group and others.

How Does Chmod Word?

Chmod is a command in Linux and other Unix-like operating systems that allows to control access to files and directories. In this tool you can use the checkboxes to select the permissions you want to give to the owner, group and others.

What are the different permissions?

There are three different permissions you can give to a file or directory, read, write and execute. Each permission has a number associated with it, read is 4, write is 2 and execute is 1. You can add these numbers together to get the permission you want to give.

For example if you want to give read and write permissions to the owner you would add 4 + 2 which would give you 6. If you want to give read, write and execute permissions to the group you would add 4 + 2 + 1 which would give you 7.

What is the number at the end of the chmod command?

The number at the end of the chmod command is the permissions you want to give to the file or directory. You can use the checkboxes above to select the permissions you want to give and the number will be displayed in the command.

For example if you want to give read and write permissions to the owner you would add 4 + 2 which would give you 6. If you want to give read, write and execute permissions to the group you would add 4 + 2 + 1 which would give you 7. You can then use the command chmod 760 file_name to give the permissions to the file.

If you want to give read, write and execute permissions to the owner, group and others you would add 4 + 2 + 1 which would give you 7. You can then use the command chmod 777 file_name to give the permissions to the file. Warning: Giving 777 permissions to a file or directory is not recommended as it gives full access to everyone.

If you want to give read and execute permissions to the owner, group and others you would add 4 + 1 which would give you 5. You can then use the command chmod 755 file_name to give the permissions to the file. Warning: Giving 755 permissions to a file or directory is not recommended as it gives full access to everyone.