CyberPanel Community

ClosedMaking sub domain gives wrong permission

Ma
Master3395 #1

When i create a new subdomain from CyberPanel it will make the subdomain folder, but with the wrong permission. In order for CyberPanel to show the subdomain, it has to have permissions like the one below.

I made net2ftp2 in order to show what permissions it makes.

image

It sets the user’s permission, and not the group as “nobody”
That makes the website not accessible.
You will get “Error redirected to many times”.
While if you change it back to “nobody” it will work perfectly again.

image

Current Version: 2.1
Build: 2

5 replies
NK
Nitesh Kunnath #2

@usmannasir This I experienced too. Due to this bug, issuing SSL fails and also changing php version doesnt work.

RM
Rana Muhammad Usman Nasir #4

OK. I figured out the problem. This bug came after I fixed an issue in security and an issue came during that.

The group should be nobody (centos) or nogroup (ubuntu)

For now you can resolve this by clicking ‘Fix permissions’ in CyberPanel File manager. I will find a way to resolve this in secure manner.

But keep the permissions as it is, just use File manager fix permissions.

Sign in to reply