[FTP3.05] How do I set permissions on files and scripts?

Doing a CHMOD (changing a file's permissions) is the setting of access privileges for a file. This tutorial shows the process in one of the most common FTP applications called WS_FTP but the process is very similar with other ftp clients.

First connect to your hosting via FTP using the settings provided in your setup email.

Next click on the directory you have placed the cgi script in and right-click on the file you would like to set permissions for. The right-click menu is then displayed, and by clicking the "CHMOD" option we get to the main part of doing a CHMOD.

The new menu that appears has three columns - Owner, Group, and Other. Each column has three checkboxes below them - Read, Write, and Execute. eg for cgi scripts needing 755 permission - In the "Owner" column, check all three boxes. In the "Group" column check the first and third checkboxes. In the "Other" column, check the first and third boxes.

Finally, click "OK" to complete the CHMOD. Test your script or file again by calling it from your web browser. Everything should work correctly, but if you are still seeing an Error 500 Server Error then it is not because of your permissions.


Was this answer helpful?

 Print this Article

Also Read

[FTP4.01] What is FTP?

FTP (File Transfer Protocol) is the simplest and most secure way to exchange files over the...

[FTP4.09] Unable to connect via FTP, the following error is being produced "530 Login failed. Perhaps your FTP access isn't unlocked?"

We have recently implemented an FTP locking system to improve security for all of our customers....

[FTP3.02] How can I limit an FTP user to a certain directory?

Additional FTP users added through your Control Panel can be restricted to a directory - by...

[FTP4.03] How do I setup additional FTP accounts?

Additional FTP accounts are most commonly used to give others access to an account for the...

[FTP4.08] Is it possible to assign a DNS address to the FTP lock function?

It's not possible to assign a DNS address to have permanent FTP access as the FTP server can't...