diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 2c7d63f3540beaaface74406f4c0e7c05d4fc56a..7f356bff08d8bf3d17c6c3dfcbf2b07fc37336af 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -491,6 +491,9 @@ class apache2_plugin { // make temp directory writable for the apache and website users $this->_exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp")); + + // Set Log symlink to 755 to make the logs accessible by the FTP user + $this->_exec("chmod 755 ".escapeshellcmd($data["new"]["document_root"])."/log"); $command = 'usermod'; $command .= ' --groups sshusers';