Skip to content
Snippets Groups Projects
Commit dad304a4 authored by Florian Schaal's avatar Florian Schaal
Browse files

Chmod the files and directories in the acme dir with nginx installed

parent 6733c1ce
No related branches found
No related tags found
No related merge requests found
......@@ -2340,6 +2340,12 @@ class installer_base {
//* chown the interface files to the ispconfig user and group
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
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
$command = 'chown -R root:root '.$install_dir.'/server';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment