MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Administrator on July 23, 2014, 11:41:36 PM

Title: file permission is restricted for script - litespeed errors
Post by: Administrator on July 23, 2014, 11:41:36 PM
Hi All,

On a Litespeed web server, error logs might start reporting the logs as below. It is when you upgrade it to LiteSpeed Web Server 4.1.5.

Quotefile permission is restricted for script

It is because a feature from Apache suphp user has been implemented. Litespeed does not serve scripts with unsafe file permission (group and world writable), or the script is inside a directory with unsafe permissions (group and world writable).

You can control it by performing 2 changes from the Litespeed admin panel. Access Server >> Security Tab. Find for Script Restricted Permission Mask & Script Restricted Directory Permission Mask. By default it would be 022. Set both to 000 & it won't show error anymore. Setting it to 000 will disable security feature. It is recommended to check with your admin first.