Unable to add public_html folder to a group

#1
I am using CyberPanel with OpenLiteSpeed with one domain, like: example.com

If I add a public_html folder of the domain to a user group, the domain starts giving "too many redirects" error. For example:

Command:

ls -la /home/example.com

returns:

drwxr-x--- 6 exam4939 nogroup 4096 Dec 15 09:18 public_html

And when I add public_html folder to a user group exam4939:

chown exam4939:exam4939 /home/example.com/public_html

then the website does not open in browser with ERR_TOO_MANY_REDIRECTS error in chrome.
 
Top