![]() |
Permission issues with SugarCRM
Hi,
I have a virtual host dedicated ot one SugarCRM CE 6.2.4 install. I keep getting minor permission issues which I can't see the origin of. VH settings: ExtApp Set UID Mode DocRoot UID The owner of the docroot is lsadm:lsadm So based on that simple info, I understand LSWS executes this PHP script as lsadm and should therefore have write access to folders owned by lsadm. But it's not. 2011-11-02 10:45:03.887 [ERROR] [HTAccess] Failed to open [/home/websites/domain.com/public/crm/sugar/include/SugarCharts/Jit/.htaccess]: Permission denied Yet: -rw-r--r-- 1 lsadm lsadm 0 Nov 2 10:28 .htaccess Even if I chmod to 755 -rwxr-xr-x 1 lsadm lsadm 0 Nov 2 10:28 .htaccess The same issue remains. So why am I getting these issues? |
lsadm is used to access lsws admin console(:7080) by design, not intended for normal websites(port 80).
if litespeed is running as nobody user, change the document owner to nobody. #chown -R nobody:nobody /home/websites/domain.com/public |
do something like
Quote:
Quote:
|
Thanks.
So is there an advantage to making doc root UID nobody for all vhosts, or would you advise they are unique for each vhost? I have lke 12 vhosts in: /home/websites/domain1.com /home/websites/domain2.com /home/websites/domain3.com /home/websites/domain4.com etc. All lsadm:lsadm |
| All times are GMT -7. The time now is 04:14 AM. |