Systems:- RHEL 5.2 and 6.0
Scenario:- whenever the above mentioned systems - acts as SLAVE Server and transfer the ZONE First Time (AXFR), they create ZONE DB Files with NUMERICAL Permission Set as - 644 | OR Octal as :-
[root@rhel-52-03 ~]# ll /var/named/slaves/helo.com.slave.db
-rw-r--r--. 1 named named 605 Oct 4 16:31 helo.com.slave.db
We use /var/named/slaves DIRECTORY for Slave Zones and environment is NON-Chrooted.
ISSUE:-As seen above, these files are being created as WORLD READABLE by default.Anyway to change this default permission set followed by NAMED daemon user ?
Hint :- (any way to set UMASK for named daemon user manually) ?
Scenario:- whenever the above mentioned systems - acts as SLAVE Server and transfer the ZONE First Time (AXFR), they create ZONE DB Files with NUMERICAL Permission Set as - 644 | OR Octal as :-
[root@rhel-52-03 ~]# ll /var/named/slaves/helo.com.slave.db
-rw-r--r--. 1 named named 605 Oct 4 16:31 helo.com.slave.db
We use /var/named/slaves DIRECTORY for Slave Zones and environment is NON-Chrooted.
ISSUE:-As seen above, these files are being created as WORLD READABLE by default.Anyway to change this default permission set followed by NAMED daemon user ?
Hint :- (any way to set UMASK for named daemon user manually) ?