tbrehm
2008-07-11 3c5c2dc6c1a1c8789084cd67538680eb08e6e20c
Change mode of the logfiles to make them readable by the ispconfig interface user.
1 files modified
8 ■■■■■ changed files
install/lib/installer_base.lib.php 8 ●●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -815,6 +815,14 @@
        
        //set the fast cgi starter script to executable
        exec('chmod 755 '.$install_dir.'/interface/bin/php-fcgi');
        //* Make the logs readable for the ispconfig user
        if(@is_file('/var/log/mail.log')) exec('chmod +r /var/log/mail.log');
        if(@is_file('/var/log/mail.warn')) exec('chmod +r /var/log/mail.warn');
        if(@is_file('/var/log/mail.err')) exec('chmod +r /var/log/mail.err');
        if(@is_file('/var/log/messages')) exec('chmod +r /var/log/messages');
    }
    
    public function configure_dbserver()