CGI

ID #146

Why do I get: Sbox Error exec of [some script] failed (Permission denied)

Applies to: Grid System

If this is NOT a PHP script, then the most common reason this error occurs is because the cgi script is not executable by owner. To fix this you need to change permissions on the file. Set them to 755 with the chmod command like so:

chmod 755 filename

Some FTP programs also have a way to change permissions on files. Please consult your FTP program's documentation or manual to see how to do it that way. More information on 'chmod' is here.

If this IS occurring with a PHP script, make sure that the filename extension is in all lowercase. For example:

file.php

and NOT

file.PHP

It is the filename extension that must be lowercase. Capital letters in other parts of the filename do not matter.  Be aware that some php scripts use different extensions.  No matter the extension, it needs to be lower case to avoid the sbox error.


Last update: 2011-12-21 16:43
Author: FAQ Admin
Revision: 1.4

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ