The document root folder will stay, but I am not sure about your OLS VH settings on the server.
Try the following example commands manually, you can also setup another server to check and update the permissions manually.
Some important permissions:
Code:
chown -R nobody:nogroup /usr/local/lsws/autoupdate
chown -R nobody:nogroup /usr/local/lsws/cachedata
chown -R nobody:nogroup /usr/local/lsws/extapp-sock
chown -R root:nogroup /usr/local/lsws/logs
chown -R lsadm:nogroup /usr/local/lsws/conf
chown -R lsadm:lsadm /usr/local/lsws/admin/conf
chown -R lsadm:nogroup /usr/local/lsws/admin/htpasswds
chown -R root:nogroup /usr/local/lsws/admin/logs
Note, that this is not all the folder and files, but hope it helps. And above permission is for Ubuntu, if you are using centos, please substitute the nogroup with nobody.