Jump to content

installing with mod_ruid2


nobaloney

Recommended Posts

We're installing WHMCS on a server configured with mod_ruid2. Which means that files do not have to world writable, as everything is run as the username. Is it still required that we use 777 permissions for files WHMCS must write, or can we get away with 755 permissions?

 

Has anyone done this?

Link to comment
Share on other sites

We're installing WHMCS on a server configured with mod_ruid2. Which means that files do not have to world writable, as everything is run as the username. Is it still required that we use 777 permissions for files WHMCS must write, or can we get away with 755 permissions?

 

Has anyone done this?

 

Hi,

 

I have done this, and the permissions can be set as follows:

 

folders to 755

files to 644

 

This is basically the same as if you were using SuPHP or another method to run PHP scripts as the account owner instead of the server-default user, such as nobody.

Link to comment
Share on other sites

Thanks, Lar. Done, tested, and changed anyway to an undisclosed location (not the default mentioned in the installation instructions, as a bit of added security).

 

Jeff

Hi,

 

I have done this, and the permissions can be set as follows:

 

folders to 755

files to 644

 

This is basically the same as if you were using SuPHP or another method to run PHP scripts as the account owner instead of the server-default user, such as nobody.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated