Symptoms
-
Under Tools & Settings > Diagnose & Repair > Filesystem section, the following error is shown:
There are incorrect permissions on some items: /var/lock
-
plesk repair fs
reports the error:# plesk repair fs -v
Checking Linux system files
There are incorrect permissions on some items: /var/lock .......... [ERROR]
- Incorrect permissions on /var/lock. Expected: one of 0777.
Actual: 01777.
Incorrect type of /var/lock. Expected: symlink. Actual:
directory
Cause
Properties of /var/lock
are incorrect. It is a directory instead of a symlink.
Resolution
-
Connect to the server via SSH
-
Move the
/var/lock
directory:# mv /var/lock /var/lock.bk
-
Recreate the symlink by repairing the file system:
# plesk repair fs -system -y