Why Chmod Is Used?
In Unix and Unix-Like Operating Systems, Chmod Is the Command and System Call Used to Change the Access Permissions of File System Objects (Files and...
In Unix and Unix-like operating systems, chmod is the command and system call used to change the access permissions of file system objects (files and directories) sometimes known as modes. It is also used to change special mode flags such as setuid and setgid flags and a 'sticky' bit.
How does chmod work?
The chmod utility lets you change any or all of the file permission mode bits of one or more files. For each file that you name, chmod changes the file permission mode bits according to the mode operand.
What chmod should I use?
Directories should always be uploaded and set to chmod 755 . Whenever you upload files using cPanel File Manager then directories will be set chmod 755 automatically.