From 5d5d88eef05cf31313e0c7117dc06caebe38d055 Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Wed, 27 Jul 2011 10:03:21 -0400
Subject: [PATCH] Fix issue with errordocs ownership
---
server/plugins-available/apache2_plugin.inc.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 9a90e5d..77a1b08 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -488,6 +488,7 @@
}
}
exec('chmod -R a+r '.$error_page_path);
+ exec('chown -R '.$data['new']['system_user'].':'.$data['new']['system_group'].' '.$error_page_path);
} // end copy error docs
// Create group and user, if not exist
--
Gitblit v1.9.1