Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on File Permissions in the Shared & Semi-Dedicated forum
So I just had a few problems, that turned out to be file permissions stuff. Under the updated server configuration, files with 664 permisions and ...

  1. #1
    JPC Member
    Join Date
    Sep 2007
    Posts
    12

    File Permissions

    So I just had a few problems, that turned out to be file permissions stuff. Under the updated server configuration, files with 664 permisions and folders with 775 permissions no longer worked. (Premature header error. Really annoying)

    So I don't have a problem with that, and I'm sure it has something to do with security, but I would appreciate if someone explained how they worked, or pointed me towards a resource or two. Thanks.

  2. #2
    JPC Support Smithjp's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    166
    You are on a shared server and the shared servers are running phpsuexec or suPHP. Both doesn't allow any world writable files/folders. You should set the file permissions to 644 and the folders to 755 and all will work fine.

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    phpsuexec and suPHP both allow PHP to run scripts under your user id instead of "nobody." Therefore files are accessed as if your were accessing them from FTP or and SSH session and new files are created with you as the owner. You don't need anything world writable anymore, so since world-writable files can be a big security weakness, both phpsuexec and suPHP check for and refuse to access anything that is world writable.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

Bookmarks

Posting Permissions

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