Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permission on /var/bind/pri
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1130

PostPosted: Mon Jul 06, 2015 7:46 pm    Post subject: permission on /var/bind/pri Reply with quote

Decided to check & update my bind9 dns config.
It was expected to be full of errors, or bloated: I was!!!
At the end of the day, jnl files were not recreated.
I had to
Code:
 chown named:named /var/bind/pri

which was not the out of the box default setting (root:named). To be sure, I've renamed to pri.ok and re-emerged the bulld.
I feel very unconfortable about such a permission change, because I couldn't find any data on the subject.

Sorry to ask, but is there anything to be check further in this respect?

Thks 4 ur attention.


Last edited by CaptainBlood on Fri Jul 10, 2015 8:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Jul 07, 2015 1:50 pm    Post subject: Reply with quote

FWIW, I've ended up with the permissions:
Code:

-rw-r----- 1 root named 3048 Apr 24 13:55 named.cache
lrwxrwxrwx 1 root root    11 Apr 24 13:55 root.cache -> named.cache
drwxrwx--- 2 root named 4096 Apr 24 13:55 dyn
drwxr-x--- 2 root named 4096 Apr 24 13:55 pri
drwxrwx--- 2 root named 4096 Apr 24 13:55 sec
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1130

PostPosted: Fri Jul 10, 2015 8:37 pm    Post subject: Reply with quote

So you have default value working fine... :?
I'm afraid I've tweaked something somewhere a long time ago...
Will check 4 the rest of ur list.

Checked, & fine. Same as your but the culprit. :?

There"s a zone file dated 2010 that is named:named.
This zone is active.
I just wonder if jnl file inherit ownership of their parent zone?

I'll give it a try once in a while...

Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum