Cpanel $5 Hosting - Virtual Private Cloud Hosting - ColdFusion Hosting ASP.NET - CPanel Linux PHP Hosting - Dedicated Servers - Reseller Hosting
Q: How do I give execute permissions to my script?

In order for you to run scripts in a UNIX environment, you will need to ensure that execute permissions are given to the script. File and directory permissions can be represented by a 3 digit number UNIX, and generally the correct permissions setting for a CGI file is 755 - the same as your cgi-bin. By default, the file permissions for any file that you upload to your Website directory are set to 644 by the FTP server. This setting does not grant the proper execute permissions to the web server, and thus your script will not execute. For more information on the UNIX file and directory permissions structure, please see the following links:

http://www.bignosebird.com/unix.shtml

You may grant execute permissions and generally change the permissions for your CGI scripts and other files by using your FTP client. Simply login to your account with your FTP program, access your cgi-bin and then right click on the CGI file in question. In most FTP programs, this should generate a menu of options - one option should be either "properties" or "change file attributes". Once you select one of these options, you may assign the proper execute permissions to your script by either entering 755 or checking the execute permissions setting for the anonymous or "other" group. For additional information on granting execute permissions using your particular FTP program, please search under the help section of the program for "file permissions".

Once you have successfully changed the permissions for your CGI file, please make sure that you follow the additional guidelines in configuring your script.


-- return to questions ID: 140
OnlineCorp.com Web Hosting -- QuickCart.com Shopping Cart
QuickCart Shopping Cart - Dedicated Servers - Reseller Hosting - Register Your Domain - ColdFusion Hosting
Online Corporation of America
Website Hosting
 -  Quick Cart Shopping Cart Store Builder - By Design Templates  
 Site Map  - Contact Us -  Privacy Policy

Sales & Support: 570-686-2300    Sales@Onlinecorp.com