user:group virtualmin configuration

I have a strange situation…
I have a joomla site with domainname:domainname user:group configuration…

when I upload file using a joomla media manager I see that file loaded with user:apache, group:root…

But usually all the file you upload via a web program use httpd process running with domainname:domainname and not with apache:root

Where I decide to which user:group use for every virtualmin…


Hmm, that is fairly unusual… if you look at Server Configuration -> Website Options, what is the PHP Execution Mode set to?

Also, what distro/version are you using?


Run CGI scripts as domain owner? Yes
PHP script execution mode FCGId (run as virtual server owner)

What distro/version are you using there?


Linux 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.6 (Final)