Skip to content

Commit 376b1df

Browse files
author
Marius Burkard
committed
Merge branch '6070-bind-plugin-should-create-slave-subdirectory' into 'develop'
Resolve "bind plugin should create slave subdirectory" Closes #6070 See merge request ispconfig/ispconfig3!1435
2 parents b4ab929 + 3a8be5d commit 376b1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ function slave_update($event_name, $data) {
452452

453453
//* Ensure that the named slave directory is writable by the named user
454454
$slave_record_dir = $dns_config['bind_zonefiles_dir'].'/'.$this->slave_zone_file_prefix();
455-
if(!@is_dir($slave_record_dir)) mkdir($slave_record_dir, 0770);
455+
if(!@is_dir($slave_record_dir)) mkdir($slave_record_dir, 0770, true);
456456
chown($slave_record_dir, $dns_config['bind_user']);
457457
chgrp($slave_record_dir, $dns_config['bind_group']);
458458

0 commit comments

Comments
 (0)