PDA

View Full Version : Permissions messed up in 4.0.10


Joeperd
09-07-2009, 08:02 AM
Hi, I am having some major problems with my file/user permissions since the last 4.0.10 upgrade.

This is my tree: (dirs + file owned by user:www-data)
/home/user/sites/domain.tld/ (=/home/user/sites/$VH_NAME/ = $VH_ROOT)
/home/user/sites/domain.tld/awstats
/home/user/sites/domain.tld/log
/home/user/sites/domain.tld/private
/home/user/sites/domain.tld/public_html (here is the document root = $VH_ROOT/public_html/)

Config files are in: $SERVER_ROOT/conf/$VH_NAME.xml (dir & files owned by lsadm:lsadm)

lsws runs as www-data:www-data

When I try to instantiate a VHOST I get this error:
Please fix error: Virtual Host Root /home/user/sites/domain.tld/ does not exist.


Could anybody help me to fix this nasty issue?
(btw where is the documentation for this user permission change?)

auser
09-07-2009, 09:15 AM
I have had similar issue and resolved.
see if following setting works for you:

chown lsadm:www-data $SERVER_ROOT/conf
chmod 710 $SERVER_ROOT/conf

update: looks a bit different with your case. FYI only.

mistwang
09-07-2009, 12:04 PM
adding lsadm to www-data should fix the permission issue.
Next release we will change admin PHP suEXEC to lsadmin:www-data .

Joeperd
09-07-2009, 01:44 PM
adding lsadm to www-data should fix the permission issue.
Next release we will change admin PHP suEXEC to lsadmin:www-data .

Well I did that, but without any success. Still get the VHOST error

Joeperd
09-07-2009, 01:50 PM
Well I did that, but without any success. Still get the VHOST error

:rolleyes:
Well just solved it.. adding lsadm to www-data did the trick.
At first I changed the group tot www-data in stead of adding lsadm to it.