Hi there,
I have some questions in regards to the proper configuration of LiteSpeed (and CyberPanel):
1. Default LiteSpeed is running as user(nobody) : group(nobody) - do I need to change this?
2. What is the proper user, group and permission to set to the a web-site folder (xyz.com) including the sub-folder: logs, lscache and public_html to prevent outside intruders?
I'm asking because I have manually been forced to set everything up myself. Meaning I have extracted a complete web-site backup
from CyberPanel and then all these settings got messed up. I needed to extract the backup manually because CyberPanel for some reason
didn't extract all files and folder (even though they exist in the tar.gz achieve file).
Currently the user, group and permissions look like this:
drwxr-xr-x 2 testo8904 nogroup 4096 Dec 29 11:32 logs
drwxrws--- 10 nobody testo8904 4096 Dec 29 13:44 lscache
drwxr-xr-x 31 testo8904 nogroup 4096 Dec 29 12:05 public_html
Folder "src" and file "test.html" in folder public_html - as examples of data inside the one of the folders:
drwxr-xr-x 5 testo8904 testo8904 4096 Dec 28 23:14 src
-rwxr-xr-x 1 testo8904 testo8904 142 Dec 28 23:13 test.html
Thank you so much in advance.
I have some questions in regards to the proper configuration of LiteSpeed (and CyberPanel):
1. Default LiteSpeed is running as user(nobody) : group(nobody) - do I need to change this?
2. What is the proper user, group and permission to set to the a web-site folder (xyz.com) including the sub-folder: logs, lscache and public_html to prevent outside intruders?
I'm asking because I have manually been forced to set everything up myself. Meaning I have extracted a complete web-site backup
from CyberPanel and then all these settings got messed up. I needed to extract the backup manually because CyberPanel for some reason
didn't extract all files and folder (even though they exist in the tar.gz achieve file).
Currently the user, group and permissions look like this:
drwxr-xr-x 2 testo8904 nogroup 4096 Dec 29 11:32 logs
drwxrws--- 10 nobody testo8904 4096 Dec 29 13:44 lscache
drwxr-xr-x 31 testo8904 nogroup 4096 Dec 29 12:05 public_html
Folder "src" and file "test.html" in folder public_html - as examples of data inside the one of the folders:
drwxr-xr-x 5 testo8904 testo8904 4096 Dec 28 23:14 src
-rwxr-xr-x 1 testo8904 testo8904 142 Dec 28 23:13 test.html
Thank you so much in advance.