Skip to content

Commit cc99cf8

Browse files
committed
Fixed: FS#820 - make website temp directory writable for apache user
1 parent 8fb58fa commit cc99cf8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,9 @@ function update($event_name,$data) {
476476
exec("chmod 711 ".escapeshellcmd($data["new"]["document_root"])."/*");
477477
exec("chmod 710 ".escapeshellcmd($data["new"]["document_root"]."/web"));
478478

479+
// make temp direcory writable for the apache user and the website user
480+
exec("chmod 777 ".escapeshellcmd($data["new"]["document_root"]."/tmp"));
481+
479482
$command = 'usermod';
480483
$command .= ' --groups sshusers';
481484
$command .= ' '.escapeshellcmd($data["new"]["system_user"]);

0 commit comments

Comments
 (0)