MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: file permission is restricted for script - litespeed errors  (Read 4758 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
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.

file 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. - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum