Skip to content

Commit 11f2adf

Browse files
author
Till Brehm
committed
Fixed a probel with apps vhost on opensuse 12.3
1 parent 4b75ea8 commit 11f2adf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,8 @@ public function configure_apps_vhost() {
15971597
if(!is_user($apps_vhost_user)) caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
15981598

15991599

1600-
$command = 'adduser '.$conf['nginx']['user'].' '.$apps_vhost_group;
1600+
//$command = 'adduser '.$conf['nginx']['user'].' '.$apps_vhost_group;
1601+
$command = 'usermod -a -G '.$apps_vhost_group.' '.$conf['nginx']['user'];
16011602
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
16021603

16031604
if(!@is_dir($install_dir)){

0 commit comments

Comments
 (0)