Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: har0ld on September 20, 2017, 11:23:43 AM

Title: Create subdomain parent directory wrong ownership
Post by: har0ld on September 20, 2017, 11:23:43 AM
When creating a subdomain and changing path into multiple sub-directories the parent directory owner is set to root while the public_html directory owner is correct.

(https://image.ibb.co/cq8XDk/subdomain_dir_wrong_owner.png) (https://imgbb.com/)

(https://preview.ibb.co/dX1cDk/subdomain_dir_wrong_owner2.png) (https://ibb.co/eBaR65)
Title: Re: Create subdomain parent directory wrong ownership
Post by: emorales on December 28, 2017, 03:35:41 PM
I'm having the same problem here... Everythigns works fine, until the point when I have to create a subdomain, instead of using user:group from the account I'm using to create the subdomain, it uses root:root.  So we can't upload or install anything until we go to the Admin panel and use the "Fix permissions" module and correct the permissions for the account that created the subdomain.  So no longer an automated task for the user.

Any thoughts on this one?  Any help would be appreciated.

Thanks!
Title: Re: Create subdomain parent directory wrong ownership
Post by: become on December 29, 2017, 01:00:19 PM
I writed about this bug many weeks ago
Title: Re: Create subdomain parent directory wrong ownership
Post by: 24x7servermanagement on December 30, 2017, 06:43:41 AM
Yup, the bug report is already present for this issue. :)