Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Why Do Permissions Need To Be Higher On Some Servers, Can It Be Changed?

Discussion in 'General Discussion' started by ttmw, Mar 30, 2011.

  1. ttmw

    ttmw Member

    Joined:
    Mar 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    I was wondering if anyone could tell me why on some servers , scripts or software runs fine on lower permissions...say chmod 750, but then on a different server the same code needs permissions 777 to work. I've just uploaded a new script and it wont work without using permissions of 777 on the files...can i change this in WHM or anywhere? I really don't want to leave files with 777 permissions.

    Thanks in advance :)
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    DSO requires higher file permissions, while suPHP and FCGI don't require higher file permissions for PHP scripts. I believe I probably already handled this question in your other forum thread in my last reply:

    http://forums.cpanel.net/f5/hacked-now-i-cant-delete-file-operation-not-permitted-200852-p2.html#post824842

    Basically, some machines are using DSO for the PHP handler and some are using suPHP or FCGI. New cPanel installs default to suPHP for the PHP handler. In the past, the default was DSO instead, so older machines might be using DSO.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice