Skip to content

Commit 984cf86

Browse files
committed
Implements #6828
1 parent 67086ce commit 984cf86

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,10 @@ public function install_ispconfig()
853853
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
854854
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
855855

856+
//* chown the extensions directory to the ispconfig user and group
857+
$command = 'chown ispconfig:ispconfig '.$install_dir.'/extensions';
858+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
859+
856860
//* chown the server files to the root user and group
857861
$command = 'chown -R root:root '.$install_dir.'/server';
858862
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");

install/dist/lib/gentoo.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,10 @@ public function install_ispconfig() {
12871287
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
12881288
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
12891289

1290+
//* chown the extensions directory to the ispconfig user and group
1291+
$command = 'chown ispconfig:ispconfig '.$install_dir.'/extensions';
1292+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1293+
12901294
//* Chmod the files and directories in the acme dir
12911295
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
12921296
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");

install/dist/lib/opensuse.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,10 @@ public function install_ispconfig()
10721072
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
10731073
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
10741074

1075+
//* chown the extensions directory to the ispconfig user and group
1076+
$command = 'chown ispconfig:ispconfig '.$install_dir.'/extensions';
1077+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1078+
10751079
//* chown the server files to the root user and group
10761080
$command = 'chown -R root:root '.$install_dir.'/server';
10771081
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");

install/lib/installer_base.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3637,6 +3637,10 @@ public function install_ispconfig() {
36373637
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
36383638
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
36393639

3640+
//* chown the extensions directory to the ispconfig user and group
3641+
$command = 'chown ispconfig:ispconfig '.$install_dir.'/extensions';
3642+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
3643+
36403644
//* Chmod the files and directories in the acme dir
36413645
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
36423646
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");

0 commit comments

Comments
 (0)