Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommaso Perondi
ISPConfig 3
Commits
5c48d830
Commit
5c48d830
authored
Dec 29, 2017
by
Till Brehm
Browse files
Fixed permissions of /usr/local/ispconfig/security/nginx_directives.blacklist file.
parent
a31c64af
Changes
4
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
5c48d830
...
...
@@ -1076,6 +1076,8 @@ class installer_dist extends installer_base {
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/apache_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/nginx_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Make the global language file directory group writable
exec
(
"chmod -R 770
$install_dir
/interface/lib/lang"
);
...
...
install/dist/lib/gentoo.lib.php
View file @
5c48d830
...
...
@@ -996,7 +996,9 @@ class installer extends installer_base
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/apache_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/nginx_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Make the global language file directory group writable
exec
(
"chmod -R 770
$install_dir
/interface/lib/lang"
);
...
...
install/dist/lib/opensuse.lib.php
View file @
5c48d830
...
...
@@ -1094,7 +1094,9 @@ class installer_dist extends installer_base {
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/apache_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/nginx_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Make the global language file directory group writable
exec
(
"chmod -R 770
$install_dir
/interface/lib/lang"
);
...
...
install/lib/installer_base.lib.php
View file @
5c48d830
...
...
@@ -2389,7 +2389,9 @@ class installer_base {
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/apache_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
$command
=
'chown root:ispconfig '
.
$install_dir
.
'/security/nginx_directives.blacklist'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Make the global language file directory group writable
exec
(
"chmod -R 770
$install_dir
/interface/lib/lang"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment