Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
dad304a4
Commit
dad304a4
authored
Feb 24, 2017
by
Florian Schaal
Browse files
Chmod the files and directories in the acme dir with nginx installed
parent
6733c1ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
dad304a4
...
@@ -2340,6 +2340,12 @@ class installer_base {
...
@@ -2340,6 +2340,12 @@ class installer_base {
//* chown the interface files to the ispconfig user and group
//* chown the interface files to the ispconfig user and group
$command
=
'chown -R ispconfig:ispconfig '
.
$install_dir
.
'/interface'
;
$command
=
'chown -R ispconfig:ispconfig '
.
$install_dir
.
'/interface'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
//* Chmod the files and directories in the acme dir with nginx installed
if
(
$conf
[
'nginx'
][
'installed'
]
==
true
)
{
$command
=
'chmod -R 755 '
.
$install_dir
.
'/interface/acme'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
}
//* chown the server files to the root user and group
//* chown the server files to the root user and group
$command
=
'chown -R root:root '
.
$install_dir
.
'/server'
;
$command
=
'chown -R root:root '
.
$install_dir
.
'/server'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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