diff --git a/install/dist/lib/fedora.lib.php b/install/dist/lib/fedora.lib.php index ff78351d263b665861d353021703623f2cd68357..fc7c880dd5a7b31bf8c9f2ac5bf204ba8383f410 100644 --- a/install/dist/lib/fedora.lib.php +++ b/install/dist/lib/fedora.lib.php @@ -788,7 +788,7 @@ class installer_dist extends installer_base { } exec('touch /var/log/ispconfig/cron.log'); - exec('chmod +666 /var/log/ispconfig/cron.log'); + exec('chmod 666 /var/log/ispconfig/cron.log'); } } diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php index 35c765c3ca4674b14e3d41a6ec3f78a492512b74..53a760c651fb1020e1edb4d0cc85be8f9ef205bc 100644 --- a/install/dist/lib/opensuse.lib.php +++ b/install/dist/lib/opensuse.lib.php @@ -807,7 +807,7 @@ class installer_dist extends installer_base { } exec('touch /var/log/ispconfig/cron.log'); - exec('chmod +666 /var/log/ispconfig/cron.log'); + exec('chmod 666 /var/log/ispconfig/cron.log'); } } diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index de3c5fd14507a0fbabc6fd72a960128f48b902bb..d3047f6dc93eb3f4f8a5fea8eb9f4671cf76aa65 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -1098,7 +1098,7 @@ class installer_base { } exec('touch /var/log/ispconfig/cron.log'); - exec('chmod +666 /var/log/ispconfig/cron.log'); + exec('chmod 666 /var/log/ispconfig/cron.log'); } diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 892dca034ddff804bf98f6bad5f5d1c430e00ff8..61edbf6d68ecd66d26a42e47026935b5d377a729 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -123,7 +123,7 @@ </tmpl_if> ServerAdmin webmaster@<tmpl_var name='domain'> - ErrorLog <tmpl_var name='document_root'>/log/error.log + ErrorLog /var/log/ispconfig/httpd/<tmpl_var name='domain'>/error.log <tmpl_if name='errordocs'> ErrorDocument 400 /error/400.html