From 627993f02e72f25b550f8278f3c33ab159fe034a Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 29 Dec 2011 05:59:52 -0500 Subject: [PATCH] Fixed: FS#1934 - CentOS 6.1: cgi-bin: wrong folder permissions - Set error reporting level in app inc. --- server/plugins-available/apache2_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index fb37e58..4958f81 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -586,7 +586,7 @@ //* add the Apache user to the client group $app->system->add_user_to_group($groupname, escapeshellcmd($web_config['user'])); - $this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root'])); + $this->_exec('chown -R '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root'])); /* * Workaround for jailkit: If jailkit is enabled for the site, the -- Gitblit v1.9.1