• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Error in permissions

BrinsleyP

Regular Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
18.0.44 U1
Hello, when i run plesk repair i give this

root@server ~ # plesk repair fs -verbose

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
Do you want to repair incorrect permissions? [Y/n]
Repairing incorrect permissions ................................. [2022-06-09 03:25:00.830] 30310:62a1923ccab10 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/var/lock'] with exit code [1]
[FAILED]
- fsmng failed: ERROR:Cannot fix %s: file exists and it is not a
symlink

Checking virtual hosts' file system ................................. [OK]

Error messages: 1; Warnings: 0; Errors resolved: 0


exit status 1
So, how to fix this
 
Back
Top