LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Permissions messed up in 4.0.10

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2009, 07:02 AM
Joeperd Joeperd is offline
New Member
 
Join Date: Sep 2009
Posts: 7
Default Permissions messed up in 4.0.10

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?)
Reply With Quote
  #2  
Old 09-07-2009, 08:15 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
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.

Last edited by auser; 09-07-2009 at 08:20 AM..
Reply With Quote
  #3  
Old 09-07-2009, 11:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
adding lsadm to www-data should fix the permission issue.
Next release we will change admin PHP suEXEC to lsadmin:www-data .
Reply With Quote
  #4  
Old 09-07-2009, 12:44 PM
Joeperd Joeperd is offline
New Member
 
Join Date: Sep 2009
Posts: 7
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
  #5  
Old 09-07-2009, 12:50 PM
Joeperd Joeperd is offline
New Member
 
Join Date: Sep 2009
Posts: 7
Quote:
Originally Posted by Joeperd View Post
Well I did that, but without any success. Still get the VHOST error

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:54 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.