- Plesk for Linux
Under Tools & Settings > Diagnose & Repair > Filesystem section, the following error is shown:
CONFIG_TEXT: There are incorrect permissions on some items: /var/lock
plesk repair fsreports 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.
Incorrect type of /var/lock. Expected: symlink. Actual:
/var/lock are incorrect. It is a directory instead of a symlink.
Connect to the server via SSH
# mv /var/lock /var/lock.bk
Recreate the symlink by repairing the file system:
# plesk repair fs -system -y