tbrehm
2009-07-21 cc99cf878793af9a65c8e601717ab4cee94a809a
Fixed: FS#820 - make website temp directory writable for apache user 
1 files modified
3 ■■■■■ changed files
server/plugins-available/apache2_plugin.inc.php 3 ●●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -476,6 +476,9 @@
            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"]);