Skip to content

Commit 033c801

Browse files
committed
Fixed: FS#1001 - Website log files not visible when using FTP
1 parent 55e6b63 commit 033c801

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

server/cron_daily.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ function setConfigVar( $filename, $varName, $varValue ) {
146146
exec("$webalizer -c $webalizer_conf -n $domain -s $domain -r $domain -q -T -p -o $statsdir $logfile");
147147
}
148148

149+
#######################################################################################################
150+
// Make the web logfiles directories world readable to enable ftp access
151+
#######################################################################################################
152+
153+
exec('chmod +r /var/log/ispconfig/httpd/*');
154+
149155
#######################################################################################################
150156
// Manage and compress web logfiles
151157
#######################################################################################################

0 commit comments

Comments
 (0)