Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2001
    Posts
    747

    Why does chmod 777 cause 500 internal server errors?

    Hello,

    I have a script in a directory. If the directory is chmod 777, I get 500 internal server error. if the directory is 755, no problem.

    Is there any way around this? I need chmod 777.

    Note: I have a dedicated server, so if there is a way I can change this myself, I will.

    Thank you.

  2. #2
    Join Date
    May 2005
    Location
    Scranton, PA
    Posts
    24
    Is this with mod_cgi? another apache(?) module? a 3rd party cgi software package?

    I have never heard of this before, it seems odd and I would suspect 3rd party cgi software that has funky requirements if I had to guess more.
    Senior Software Developer
    BurstNET® - The Speed the Internet Travels™
    BurstNET® - an INC500™ Company
    http://www.burst.net - http://www.nocster.net

  3. #3
    Join Date
    May 2003
    Posts
    1,708
    If php_suexec and suexec are installed it will not allow 777 in public_html directories normally.
    ~~~~~~~~~~~~~~~~~~~~~
    UrNode - Virtual Solutions
    http://www.UrNode.com

  4. #4
    Join Date
    Jan 2003
    Posts
    1,715
    Suexec (both cgi and php, afaik) will not run a script that is world-writable or that is in a world-writable directory.
    Game Servers are the next hot market!
    Slim margins, heavy support, fickle customers, and moronic suppliers!
    Start your own today!

  5. #5
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,616
    Its always worth checking the apache error_log as well as it normally output the actual problem there

    Rus
    Russ Foster - Industry Curmudgeon
    Freelance Sysadmin for Hire - email vaserv@gmail.com

  6. #6
    Join Date
    Jun 2004
    Location
    Bay Area -USA
    Posts
    1,740
    its php suexec. You just need to mod it so that the owner can write to it like 644 or something like that.
    <<< Please see Forum Guidelines for signature setup. >>>

  7. #7
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    1,284
    777 permissioned scripts are an exploited server waiting to happen.
    "Obsolesence is just a lack of imagination."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •