CGI

ID #102

Why do I get: Sbox error the directory containing [some script] is world writable?

Applies to: Grid System

This error means your script is located in a directory that is "world writable". Sbox prevents scripts from running in world writable directories as a security measure.

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


drwxr-xrwx
drwx----wx
dr-x--xrw-

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 to change the permissions on the directory.

If you use your FTP program to change the directory's 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 755 htdocs/www/directory

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

More information on unix file and directory 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: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ