Skip to content

Commit 5c48d83

Browse files
author
Till Brehm
committed
Fixed permissions of /usr/local/ispconfig/security/nginx_directives.blacklist file.
1 parent a31c64a commit 5c48d83

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,8 @@ public function install_ispconfig()
10761076
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
10771077
$command = 'chown root:ispconfig '.$install_dir.'/security/apache_directives.blacklist';
10781078
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1079+
$command = 'chown root:ispconfig '.$install_dir.'/security/nginx_directives.blacklist';
1080+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
10791081

10801082
//* Make the global language file directory group writable
10811083
exec("chmod -R 770 $install_dir/interface/lib/lang");

install/dist/lib/gentoo.lib.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,9 @@ public function install_ispconfig()
996996
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
997997
$command = 'chown root:ispconfig '.$install_dir.'/security/apache_directives.blacklist';
998998
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
999-
999+
$command = 'chown root:ispconfig '.$install_dir.'/security/nginx_directives.blacklist';
1000+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1001+
10001002
//* Make the global language file directory group writable
10011003
exec("chmod -R 770 $install_dir/interface/lib/lang");
10021004

install/dist/lib/opensuse.lib.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,9 @@ public function install_ispconfig()
10941094
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
10951095
$command = 'chown root:ispconfig '.$install_dir.'/security/apache_directives.blacklist';
10961096
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1097-
1097+
$command = 'chown root:ispconfig '.$install_dir.'/security/nginx_directives.blacklist';
1098+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1099+
10981100
//* Make the global language file directory group writable
10991101
exec("chmod -R 770 $install_dir/interface/lib/lang");
11001102

install/lib/installer_base.lib.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,9 @@ public function install_ispconfig() {
23892389
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
23902390
$command = 'chown root:ispconfig '.$install_dir.'/security/apache_directives.blacklist';
23912391
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2392-
2392+
$command = 'chown root:ispconfig '.$install_dir.'/security/nginx_directives.blacklist';
2393+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2394+
23932395
//* Make the global language file directory group writable
23942396
exec("chmod -R 770 $install_dir/interface/lib/lang");
23952397

0 commit comments

Comments
 (0)