I thought perms 777 were not needed with mod_ruid2?

Status
Not open for further replies.

pucky

Verified User
Joined
Sep 9, 2006
Messages
758
Im running WHMCS and usually is requires a perm of 777 on 3 directories but under mod_ruid2 running on the server WHMCS is complaing that it needs those 3 directories set to 777 regardless. Why is that? Why cant WHMCS write to directories owned by user:user?

If you were running WHMCS under suphp or phpsuexec - the highest permissions are 755 for both folders and files. How can i test if mod_ruid2 is really working? I mean, i ran the file test for ruid2 and it worked.

Seems strange that i would have to run a bunch of perm updates to remove directories that are chown 777 for all my users. I wonder if their installations are now failing.
 
Last edited:
Create a php file, it would be the easiest:

script.php

PHP:
<?php

var_dump(exec("id"))
?>

You should have allowed exec() in php.ini (not included in disabled functions list).

And open it in a browser: http://domain.com/script.php if you see apache, then mod_ruid2 is not working.
 
Status
Not open for further replies.
Back
Top