Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: skidnik on September 27, 2019, 01:36:19 PM

Title: Adding a subdomain from user panel creates a directory with 640 permissions
Post by: skidnik on September 27, 2019, 01:36:19 PM
CWP version 0.9.8.894
Steps:
1. Go to user panel.
2. Add new subdomain.
Result:
A directory created for the subdomain has permissions 640. This prevents apache (in my case) from accessing the directory and files in it, results in a 403 error.
403 error can be fixed by `chmod a+rx subdomain_directory`
Expected result:
The subdomain directory created with 644 permissions.