Author Topic: Incorrect owner/group and permissions for subdomain directory  (Read 51 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Incorrect owner/group and permissions for subdomain directory
« on: September 26, 2018, 08:18:05 AM »
CWP create folder for subdomain with incorrect owner/group and permissions (if subfolder created outside /home/user/public_html)

1. Add a subdomain and assign for it directory outside main domain public_html, for example /home/user/subdomain/public_html
2. Check owner/group and directory mode from shell or from File Manager

Code: [Select]
#cd /home/user
#ls -l
drwxr-xr-x 3 root root  4096 Sep 26 09:51 subdomain
drwxr-x--- 5 user nobody  4096 Jan  9  2018 public_html
#

subdomain folder have root as owner:group and directory mode is 755 against 750 for main domain

I fixed this using root shell, but this is a bug for user.