From dbae22d215d97573cc39cc98dd8220479b56ecb5 Mon Sep 17 00:00:00 2001 From: Dominik Mueller <info@profi-webdesign.net> Date: Tue, 25 Feb 2014 16:28:25 -0500 Subject: [PATCH] Since chown and chgrp doesn't work recursively -> use parameters of mkdirpath instead --- server/plugins-available/apache2_plugin.inc.php | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index fd5149d..2f06873 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -2110,9 +2110,7 @@ //* Create the folder path, if it does not exist if(!is_dir($folder_path)) { - $app->system->mkdirpath($folder_path); - $app->system->chown($folder_path, $website['system_user']); - $app->system->chgrp($folder_path, $website['system_group']); + $app->system->mkdirpath($folder_path, 0755, $website['system_user'], $website['system_group']); } //* Create empty .htpasswd file, if it does not exist -- Gitblit v1.9.1