I'm utilizing an Alias directory to utilize a cms for multiple websites. It's as an application pool in IIS (for that Home windows men here).
While every website features its own user (I'm utilizing a VDS with DirectAdmin), and also the Content management systems also offers obviously its very own user, Now i have permission issues since the Content management systems user needs read permissions in each and every website (= homedir).
How do you do this?
/home/myapp/cms with user 'myapp' <- is mounted on every website by an Alias directive
/home/site1/public_html with user 'site1'
/home/site2/public_html with user 'site2'
chmod o+rX /home/myapp/cms, but that did not have the desired effect. Also chown isn't any solution, since it are designed for just one single user.
Update: As one example of this better, my website is showing the next error:
Warning: require(/home/site1/public_html/includes/config.php) [function.require]: failed to open stream: Permission denied in /home/myapp/cms/index.php on line 2
What means the 'shared application' has not possess the sufficient right.
Within this situation I've also provide done
chmod o+rwX /home/site1/public_html/includes/config.php
Obviously 'myapp' and 'site1' differs within the real situation. Case an simplification.
You most likely have to alter the permissions from the files inside
/home/myapp/cms too. e.g.
chmod -R o+rX /home/myapp/cms