Home
 

Customer Support

Search for keywords:

Browse by category:

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

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.

User-Contributed Notes

add a note
There are no user-contributed notes for this topic.

Related Questions:


How do I use sendmail with perl?

How do I use cgi scripts?

My formmail.pl script from Matt's Script Archive doesn't work.

Why does Sbox say "no such file or directory" but the files are there?

What Perl modules are installed?

Do you offer CGI? What scripts can I install?

I can't get the python socket module to work?

What is the path to perl or some other program?

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

Sendmail does not work or does not accept my optional arguments.

Importing the Python cgi module doesn't work.

How do I use MySQL with Python?

What version of Python do you support and what modules are available?

Why do I get: Sbox Error exec of [some script] failed (Exec format error)?

Why do I get: Sbox error file not world executable?

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

Why do I get: Sbox error: cannot run suid scripts

Why do I get: Sbox Error exec of [some script] failed (Resource temporarily unavailable)

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us