Solution Web Hosting Logo

CHMOD Information

1. Now that you have uploaded your files you need to set the permissions for how the file can be used or viewed. This is very important for any CGIs scripts you may use on your site.

2. Go to the short explanation on how to 'FTP' the files to the server.


Permission settings are very important:

 

To set permissions for CGI / perl scripts:
Select the file or directory
Then use the right mouse to show the menu
Where you click on chmod (UNIX)

 

To learn what Read(r) Write(w) eXecute(x) to use:

CHMOD Explanation:

CHange MODe (CHMOD) is the Unix command and system call to change the access permissions of a file or directory. In other words, CHMOD means to set permission.

The most common chmod value (for scripts) is 755 which = (rwx r-x r-x). In many cases, you will have to convert from a numerical value to the rwx values. The following table shows the values for (r), (w) and (x) and an example for 755.

Example for 755
  Owner Group Public
read=4 X X X
write=2 X    
execute=1 X X X
Totals (4+2+1)=7 (4+1)= 5 (4+1)=5