Commit f6640427 authored by Florian Schaal's avatar Florian Schaal

fixed permissions for bind-slave. (Dr. Ralf Schlatterbeck - Open Source Consulting)

parent 6f8a85a6
......@@ -1481,12 +1481,12 @@ class installer_base {
//* Create the slave subdirectory
$content .= 'slave';
if(!@is_dir($content)) mkdir($content, 2770, true);
if(!@is_dir($content)) mkdir($content, 02770, true);
//* Chown the slave subdirectory to $conf['bind']['bind_user']
chown($content, $conf['bind']['bind_user']);
chgrp($content, $conf['bind']['bind_group']);
chmod($content, 2770);
chmod($content, 02770);
}
......@@ -2822,4 +2822,4 @@ Email Address []:
}
?>
\ No newline at end of file
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment