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

  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Creating multiple FTP accounts

If you have multiple users connecting to FTP via a single FTP account at the same time then you...

How do I connect to FTP via CS5?

To connect to your website using Adobe Dreamweaver, try the following:1. Launch Dreamweaver 2....

How do I connect via FTP from Mac OS X?

The Finder in more recent versions of Mac OS X has built-in support for FTP. All you need to do...

How do I publish my site with Adobe GoLive?

When you're ready to publish your site, just connect to the FTP server by clicking the FTP Server...

How do I redirect my site? non-www to www

A redirect is a simple way to automatically correct a users request to the correct page if you...