Site is down somehow and error log shows “file permission is restricted for script”. LiteSpeed has a security setting "Script Restricted Permission Mask". If it is set without care, it may cause the site down.

This setting is used to specify the restricted permission mask for script files that the web server will not serve. For example, to prohibit serving PHP scripts that are group and world writable, set the mask to 022. Default value is 000.

Reset back to default value “000” may fix your script restriction issue and restore your site.

  • Admin
  • Last modified: 2015/06/23 17:47
  • by Jackson Zhang