Skip to content
Snippets Groups Projects
Commit cc99cf87 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#820 - make website temp directory writable for apache user

parent 8fb58fa0
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -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"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment