From 033c80139eca868dc63c135e1f9ce5ffbcda4dca Mon Sep 17 00:00:00 2001 From: tbrehm Date: Tue, 19 Jan 2010 12:31:49 +0000 Subject: [PATCH] Fixed: FS#1001 - Website log files not visible when using FTP --- server/cron_daily.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/cron_daily.php b/server/cron_daily.php index 80f4158fe..be39402a1 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -146,6 +146,12 @@ if(!@is_dir($statsdir)) mkdir($statsdir); exec("$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir $logfile"); } +####################################################################################################### +// Make the web logfiles directories world readable to enable ftp access +####################################################################################################### + +exec('chmod +r /var/log/ispconfig/httpd/*'); + ####################################################################################################### // Manage and compress web logfiles ####################################################################################################### -- GitLab