Apache - Selinux - php - svn
Hi,
I need some help, I'm trying to configure apache with php on a new server located on cloud.
Selinux is enabled and I never used selinux.
web app. are located on a svn server, so for importing the web app, I use svn co.
But with selinux, I have some problem for manage access right.
<my user> is a normal user with sudo right.
My actual tree is :
/mnt/www rwxr-S--- <my user>:apache
With <my user> I cannot access to /mnt/www, I must sudo and call mc
The direcoty for one of my web's app :
drw-r-x---. 10 <my user> apache 4096 Jan 31 17:13 xinos
and under this folder, php files for running the app.
Example of file:
-rw-r--r--. 1 <my user> apache 992 Jan 30 17:02 menu.php
But the problem is : when i do a svn update, the group id change and apache cannot read the file.
And sometime I must reset right with chmod 0640 the file.
so, how I can have a secure www directory, permit to update my web applications easily.
I also have problem with php and mysql connection (mysql 8), so this installation become a nightmare for me.
thank you for your help
|