Hi! Help me please. Permissions to all folders on an Ubuntu 20.04 server with OLS have been lost by mistake. Some rights I restored Cyberpanel opens, but nothing works and websites do not open. There is SSH access. Please help restore the rights that were by default.
P.S. Almost all folders and files have root:root (user:group)
For websites, the “fix permissions” button at the website file manager:
Cyberpanel → List websites → File manager → Fix permissions
Should fix all the permissions for the website.
Now, regarding the permissions of cyberpanel core, perhaps your best option would be to run the upgrader, as the upgrader does fix some permissions.
Not sure if it will fix all, but you can use it as a starting point.
Thanks for reply. File Manager opens but folders and files are not displayed. I run upgrade, but problems remain. Perhaps you can tell me how to restore permissions for the file manager, so that later I can do Fix Permissions.