Skip to content

Commit dad304a

Browse files
committed
Chmod the files and directories in the acme dir with nginx installed
1 parent 6733c1c commit dad304a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,6 +2340,12 @@ public function install_ispconfig() {
23402340
//* chown the interface files to the ispconfig user and group
23412341
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
23422342
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2343+
2344+
//* Chmod the files and directories in the acme dir with nginx installed
2345+
if($conf['nginx']['installed'] == true) {
2346+
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
2347+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2348+
}
23432349

23442350
//* chown the server files to the root user and group
23452351
$command = 'chown -R root:root '.$install_dir.'/server';

0 commit comments

Comments
 (0)