File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ public function configure_bind() {
621621
622622 //* Chown the slave subdirectory to $conf['bind']['bind_user']
623623 exec ('chown ' .$ conf ['bind ' ]['bind_user ' ].': ' .$ conf ['bind ' ]['bind_group ' ].' ' .$ content );
624- exec ('chmod 770 ' .$ content );
624+ exec ('chmod 2770 ' .$ content );
625625
626626 }
627627
Original file line number Diff line number Diff line change @@ -1230,11 +1230,12 @@ public function configure_bind() {
12301230
12311231 //* Create the slave subdirectory
12321232 $ content .= 'slave ' ;
1233- if (!@is_dir ($ content )) mkdir ($ content , 0770 , true );
1233+ if (!@is_dir ($ content )) mkdir ($ content , 2770 , true );
12341234
12351235 //* Chown the slave subdirectory to $conf['bind']['bind_user']
12361236 chown ($ content , $ conf ['bind ' ]['bind_user ' ]);
12371237 chgrp ($ content , $ conf ['bind ' ]['bind_group ' ]);
1238+ chmod ($ content , 2770 );
12381239
12391240 }
12401241
You can’t perform that action at this time.
0 commit comments