• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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