aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/core/system.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/core/system.php')
-rw-r--r--phpBB/includes/core/system.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/core/system.php b/phpBB/includes/core/system.php
index 55dca1d311..5bb42e9ed4 100644
--- a/phpBB/includes/core/system.php
+++ b/phpBB/includes/core/system.php
@@ -107,6 +107,9 @@ class phpbb_system extends phpbb_plugin_support
if ($this->chmod_info['process'])
{
+ $file_uid = fileowner($filename);
+ $file_gid = filegroup($filename);
+
// Change owner
if (@chown($filename, $this->chmod_info['common_owner']))
{