ftimme
2011-09-25 cd5645e4676308d1ac32a0c539e5d699845df27a
- Make sure the nginx user is added to the group of a new website.
1 files modified
2 ■■■ changed files
server/plugins-available/nginx_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php
@@ -567,7 +567,7 @@
            }
            //* add the nginx user to the client group
            $app->system->add_user_to_group($groupname, escapeshellcmd($web_config['user']));
            $app->system->add_user_to_group($groupname, escapeshellcmd($web_config['nginx_user']));
            $this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root']));