From 477d4e981a4171dcc8b7886b2130abbee0442067 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 24 May 2012 07:26:50 -0400
Subject: [PATCH] Initial commit of the interface part of the APS installer.

---
 install/dist/lib/gentoo.lib.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/install/dist/lib/gentoo.lib.php b/install/dist/lib/gentoo.lib.php
index 5e5c93c..ad94bad 100644
--- a/install/dist/lib/gentoo.lib.php
+++ b/install/dist/lib/gentoo.lib.php
@@ -858,6 +858,10 @@
 			}
 		}
 		
+		//* Make the APS directories group writable
+		exec("chmod -R 770 $install_dir/interface/web/sites/aps_meta_packages");
+		exec("chmod -R 770 $install_dir/server/aps_packages");
+		
 	    //* make sure that the server config file (not the interface one) is only readable by the root user
     	chmod($install_dir.'/server/lib/'.$configfile, 0600);
 		chown($install_dir.'/server/lib/'.$configfile, 'root');

--
Gitblit v1.9.1