Hi all.
I am busy with writing a control panel for a game and therfor it's needed to start and stop the game using some shell function in PHP. Only the problem is the games are placed in user home directory's. Since directadmin doesn't allow to read other home directory's, also apache can't do anything there. I changed the folder access to 777 and made apache group owner, try to start the game from the shell with another user. No errors appears now, but just nothing happends. Entering the same command as the owner of the home directory or as root, starts the game well.
Is there any way to allow apache to start applications within another userdirectory's?
Btw, didn't know for sure in wich board this topic belongs, but since I experienced the problem in PHP I guessed this one =)
Edit: Oh, i'm running directadmin on debian lenny (32bit) btw
I am busy with writing a control panel for a game and therfor it's needed to start and stop the game using some shell function in PHP. Only the problem is the games are placed in user home directory's. Since directadmin doesn't allow to read other home directory's, also apache can't do anything there. I changed the folder access to 777 and made apache group owner, try to start the game from the shell with another user. No errors appears now, but just nothing happends. Entering the same command as the owner of the home directory or as root, starts the game well.
Is there any way to allow apache to start applications within another userdirectory's?
Btw, didn't know for sure in wich board this topic belongs, but since I experienced the problem in PHP I guessed this one =)
Edit: Oh, i'm running directadmin on debian lenny (32bit) btw
Last edited: