diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index c734921bf5ca3871adfe5f3f116022485e370582..014163d72b57ae1bc3b943fb9adbe780e81025d5 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -476,6 +476,9 @@ class apache2_plugin { exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"])."/*"); exec("chmod 710 ".escapeshellcmd($data["new"]["document_root"]."/web")); + // make temp direcory writable for the apache user and the website user + exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp")); + $command = 'usermod'; $command .= ' --groups sshusers'; $command .= ' '.escapeshellcmd($data["new"]["system_user"]);