From edf806b98d675a2037b019644aff76b7e8b7738c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 21 Nov 2011 02:33:09 -0500 Subject: [PATCH] Merged revisions 2741-2788 from SVN stable branch. --- install/dist/lib/fedora.lib.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/install/dist/lib/fedora.lib.php b/install/dist/lib/fedora.lib.php index 4efb6fc..51f2dff 100644 --- a/install/dist/lib/fedora.lib.php +++ b/install/dist/lib/fedora.lib.php @@ -1029,6 +1029,11 @@ // Edit the file Edit the file /etc/sudoers and comment out the requiregetty line, otherwise the backup function will fail replaceLine('/etc/sudoers','Defaults requiretty','#Defaults requiretty',0,0); + if(is_file($install_dir.'/interface/invoices')) { + chmod($install_dir.'/interface/invoices', 0770); + chown($install_dir.'/interface/invoices', 'ispconfig'); + chgrp($install_dir.'/interface/invoices', 'ispconfig'); + } } -- Gitblit v1.9.1