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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] litespeed requires 777 permission

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2012, 09:56 PM
noooy noooy is offline
New Member
 
Join Date: Mar 2012
Posts: 4
Question [solved] litespeed requires 777 permission

Hello
I installed litespeed on a directadmin server ,previously the server run suphp ,so there's no need to change some files or folders to 777 , all the files are 644 and folders are 755 ,but after switch to litespeed, I have to change some folders and files to 777 ,then they are writeable, I search a lot ,but got nothing ,I have to look for help from you ,
how to configure litespeed settings, then I can use litespeed the same as suphp on files or folders permission settings ,only 644 and 755 ,thanks.

Last edited by NiteWave; 03-18-2012 at 06:16 PM..
Reply With Quote
  #2  
Old 03-12-2012, 10:00 PM
noooy noooy is offline
New Member
 
Join Date: Mar 2012
Posts: 4
I follow the instruction to install litespeed then compile php 5.2.17 http://www.litespeedtech.com/support...&s=directadmin
Reply With Quote
  #3  
Old 03-13-2012, 10:34 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
please provide example for your issue (files with 777 permission instead of 755 work with litespeed) and also check error log (e.g. /usr/local/lsws/logs/error.log) for any details when you have the files set at 755.
Reply With Quote
  #4  
Old 03-18-2012, 11:28 AM
noooy noooy is offline
New Member
 
Join Date: Mar 2012
Posts: 4
Hello
I think it's the ownership caused , not the permissions.
litespeed run as apache:apache,

ls -l /home
drwx--x--x 7 libcom access 4096 Mar 18 10:37 libcom

ls -l /home/libcom/domains/lib.com/public_html
drwxr-xr-x 11 libcom libcom 4096 Mar 18 10:44 data
-rw-r--r-- 1 libcom libcom 1096 Dec 21 12:57 connect.php
-rw-r--r-- 1 libcom libcom 5517 Dec 21 12:57 index.php
-rw-r--r-- 1 libcom libcom 956 Dec 21 12:57 member.php
-rw-r--r-- 1 libcom libcom 1355 Dec 21 12:57 misc.php
-rw-r--r-- 1 libcom libcom 582 Dec 21 12:57 robots.txt
-rw-r--r-- 1 libcom libcom 1192 Dec 21 12:57 search.php

can you tell me how to fix the problem ,thanks.
Reply With Quote
  #5  
Old 03-18-2012, 12:39 PM
noooy noooy is offline
New Member
 
Join Date: Mar 2012
Posts: 4
I searched again and again ,and finally found the answer there http://www.directadmin.com/forum/sho...t=42897&page=1
Reply With Quote
  #6  
Old 03-18-2012, 06:16 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
so php suExec is not enabled due to vhost template setting. Thanks for the update. mod_ruid2 not recognized in current lsws version. may recognize it later.
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 01:44 PM.



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