Symptoms
-
Tools & Settings > Diagnose & Repair tool provides the warnings below on a daily basis when checking 'File System' aspect for all domains:
There are incorrect permissions on some items in the system directory for the domain 'example.com'.
-
After fixing permissions, the error returns back and the same warnings appear in the Diagnose & Repair tool.
-
When executing the
plesk repair fs
command on the server it becomes clear that incorrect permissions are set to thelogs
directory:# plesk repair fs example.com -v
Checking virtual hosts' file system
There are incorrect permissions on some items in the system directory for the domain 'example.com' ................. [ERROR]
Inorrect permissions on /var/www/vhosts/system/example.com/logs:
expected is one of 0700, actual is 0701 -
Litespeed extension is installed on the server.
Cause
LiteSpeed extension changes permissions on the logs
directory of the domain on a daily basis due to its requirements. Plesk Repait Kit detects such permissions as incorrect due to the fact that with Apache and/or nginx 700
permissions are used.
Such behavior was considered a bug with ID PPPM-13138. Plesk Repair Kit should ignore 701
permissions to the logs
directory when LiteSpeed is enabled.
Resolution
Warnings in Tools & Settings > Diagnose & Repair regarding inorrect permissions on /var/www/vhosts/system/example.com/logs
can be safely ignored.