When using UNIX systems it is sometimes necessary to change file permissions, which is done using the CHMOD command.
While we always recommend that you check your documentation, basically there are two different methods you can select from in order to CHMOD a file:
1. certain FTP clients, such as Cute FTP and WS/FTP Pro, allow CHMODing to be done directly within the FTP. In order to achieve this you need to highlight the file that you want to use and then select "change file permissions" from the command menu
2. the second option is "manual" CHMODing. In order to achieve this you need to enter the designated CHMOD.
Reasons for CHMODing
CHMODing files is done for a variety of reasons. You CHMOD files to: mark them executable, give them write permission, restrict access to them, etc.
It is important to note that CHMODing files is going to be nearly impossible to avoid. If you are trying to run certain CGI script, then this may require you to execute permission on the script itself, write permission on a directory, and read on an informational page. Here, your CGI script should contain documentation that will inform you of the proper CHMOD procedure (if any).
List of CHMOD's and what they mean:
CHMOD 777 file: available to owners, groups and the world at large in order to Read, Write and Execute.
CHMOD 755 file: available to owners to Read, Write and Execute; and to groups and the world at large to Read and Execute only.
CHMOD 644 file: available to owners to Read and Write; and to groups and the world at large to Read only.
CHMOD 666 file: available to owners, groups and the world at large in order to Read and Write.