• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Apache Php permissions wih Symlinks (or php user permissions???)

Mrdzone

Senior member
tl;dr:
So my ultimate question is how can I give user2 permission to run index.php in user1's home directory?



OK here's the situation

I've got squirrelmail installed in
/home/user1/domain1/squirrelmail

It's accessed by domain1.com/squirrelamil

everything works fine and the user+group for all of /home/user1 is user1


now i have a symlink of /home/user2/domain1/squirrelmail -> /home/user1/domain1/squirrelmail

Which I am trying to access by webmail.domain1.com

now if I still have /home/user1/* set to user+group of user1 I can't access it from webmail.domain1.com but I can access it from domain1.com/squirrelmail

if I switch the user+group of /home/user1/* to user2 then I can access it from webmail.domain1.com

HOWEVER the index.php page comes up blank!!!

I don't care about accesing it from domain1.com/squirrelmail but I need to access it from webmail.domain1.com

Also I can't simply use httpd.conf to redirect webmail.domain1.com for various reasons even though I know this would make it easiest. Also switching the dns is out.

So my ultimate question is how can I give user2 permission to run index.php in user1's home directory?

Thanks

-Zone
 
Back
Top