The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Migration from mod_ruid2 to DSO only and public file permission

Discussion in 'General Discussion' started by Archmactrix, May 29, 2013.

  1. Archmactrix

    Archmactrix Well-Known Member

    Jan 20, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Using DSO and mod_ruid2 has been going rather well the last year. But when using mod_ruid2, it restricts me too much from choices I can make when wanting to experiment with other modules, so I've been thinking about stop using mod_ruid2.

    1. If I stop using mod_ruid2 on my server, how will it affect the file permissions in the public directory when using DSO only, do I need to adjust the file permissions, like setting it to 777, to make files writable when needed, or is there a way to make it unnecessary?

    2. It's my understanding, and correct me if I'm wrong, when using DSO on a server for only one user, it has less security implications than using it on a multi user server?
    #1 Archmactrix, May 29, 2013
    Last edited: May 29, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    This depends on the specific scripts that you have installed. Some scripts may require files/directories with 777 permissions with DSO, which can be insecure.

    There is some truth there because it's easier to distinguish which account is responsible for the PHP "nobody" processes, but it does not change the insecure permissions that are sometimes required for scripts to work with DSO.

    Thank you.

Share This Page