CGI

ID #101

Why do I get: Sbox error file is world writable?

Applies to: Grid System

This error means that the permissions on your script make the file "world writable". Sbox prevents world writable scripts from running as a security measure.

"World writable" means that the 9th file permission is a "w" (meaning "write"), like any of these examples:

-rw-rw-rw-
-rwx----w-
-rwxrwxrwx

To fix this, you can either use the permission changing feature of your FTP program or you can login to your shell to use the "chmod" command on the file.

If you use your FTP program to change the file permissions, just take away the last "w".

If you want to use the chmod command, login to your home directory using telnet or ssh, and then type:

chmod 644 htdocs/www/filename

where "htdocs/www/filename" is the path from your home directory to the file that is world writable.

More information on unix file permissions can be found here:
here, here, here or here.


Last update: 2010-09-29 16:52
Author: FAQ Admin
Revision: 1.2

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

Average rating: 1 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ