tbrehm
2012-05-03 976677a701d23595f986adbb2abfd42c4d20b596
Fixed: FS#2168 - Restore permissions of pdf files in invoices directory
4 files modified
20 ■■■■■ changed files
install/dist/lib/fedora.lib.php 5 ●●●●● patch | view | raw | blame | history
install/dist/lib/gentoo.lib.php 5 ●●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 5 ●●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php 5 ●●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php
@@ -1052,9 +1052,8 @@
        replaceLine('/etc/sudoers','Defaults    requiretty','#Defaults    requiretty',0,0);
        
        if(is_dir($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
            exec('chmod -R 770 '.escapeshellarg($install_dir.'/interface/invoices'));
            exec('chown -R ispconfig:ispconfig '.escapeshellarg($install_dir.'/interface/invoices'));
        }
        
    }
install/dist/lib/gentoo.lib.php
@@ -875,9 +875,8 @@
        }
        
        if(is_dir($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
            exec('chmod -R 770 '.escapeshellarg($install_dir.'/interface/invoices'));
            exec('chown -R ispconfig:ispconfig '.escapeshellarg($install_dir.'/interface/invoices'));
        }
        
        // TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing
install/dist/lib/opensuse.lib.php
@@ -1084,9 +1084,8 @@
        }
        
        if(is_dir($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
            exec('chmod -R 770 '.escapeshellarg($install_dir.'/interface/invoices'));
            exec('chown -R ispconfig:ispconfig '.escapeshellarg($install_dir.'/interface/invoices'));
        }
        
        
install/lib/installer_base.lib.php
@@ -1771,9 +1771,8 @@
        }
        
        if(is_dir($install_dir.'/interface/invoices')) {
            chmod($install_dir.'/interface/invoices', 0770);
            chown($install_dir.'/interface/invoices', 'ispconfig');
            chgrp($install_dir.'/interface/invoices', 'ispconfig');
            exec('chmod -R 770 '.escapeshellarg($install_dir.'/interface/invoices'));
            exec('chown -R ispconfig:ispconfig '.escapeshellarg($install_dir.'/interface/invoices'));
        }
        // TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing