This is a tool to calculate the chmod value for files and directories in Linux,
whether it be Ubuntu, Arch or any other Unix distro. Choose the permissions you want the
objects to have and the tool will display the right chmod integer value for you to use in a
terminal window. Be sure to prepend your command with sudo to ensure that you have all the
privileges to adjust the permissions for the files and directories.
Optionally, specify the path to the file here to make the command more clear.
Otherwise the standard file name is filename.txt, which resides in the current working directory,
in other words ./. So filename.txt is the same
as ./filename.txt. Add double quotes "" around your path if it contains spaces.
Use the following command in a terminal to modify the file's permissions: