Commit bf47b513 authored by tbrehm's avatar tbrehm

Fixed: FS#1529 - wrong permission for link /var/www/clients/clientXX/webXX/log

parent 610e3568
......@@ -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';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment