chmod
What is chmod?
chmod (short for "change mode") is a Linux and UNIX command used to set the read, write, and execute permissions of a file or directory. On Linux and other UNIX-based operating systems, who can do what to a file or directory is controlled through sets of access permissions. These permissions either permit or prevent a file from being read, modified, or - if it is a script or program such as a Perl script - executed. For a nine-character string, the characters are either a dash (-) meaning the permission is not granted, or a letter: For example, "rwx" means full permissions, while "---" means none have been granted.How do chmod permissions work?
There are three sets of permissions: one for the owner of the file, one for the members of the file's group, and one for everyone else. Permissions can be expressed either as a nine-character string or as a three-digit number.What do the chmod numbers mean?
Each digit in a three-digit permission number ranges from 0 to 7 and represents a combination of read (4), write (2), and execute (1):Examples of common chmod permissions
chmod and MIDAS
The permissions rwxr-xr-x (755) are required on Perl (.pl) files in order for them to run on your web server. If you are installing a self-hosted edition of MIDAS, setting the correct chmod permissions on its Perl files is an essential step in getting your booking system running.
Glossary » chmod