diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index f193c7d5345e8257439b12ef3c086dbe49e3ea50..19ce6cadf846dd1d9e16473b758e470bbeb35105 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -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';