Summary: | net-dns/pdns-4.0.1: wrong permissions on /etc/powerdns | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcel Pennewiß <gentoo> |
Component: | Current packages | Assignee: | Sven Wegener <swegener> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | vamp |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcel Pennewiß
2017-01-07 12:27:08 UTC
setting /etc/powerdns to pdns:pdns not the best way. the pdns_server and pdns_recursor only needs access to read configuration files best way is to set recursive permissions for /etc/powerdns to root:pdns chown -R root:pdns /etc/powerdns chmod 750 /etc/powerdns chmod 640 /etc/powerdns/*.conf affected not only 4.0 , also 4.3 latest in portage tree. If you use systemd, after installing version 4.3.0 it is even impossible to start a service until permissions are fixed as shown above. This is still a problem, would it be possible to amend the ebuild to set the directory to root:pdns and permissions to 750? (In reply to Chris Pritchard from comment #3) > This is still a problem, would it be possible to amend the ebuild to set the > directory to root:pdns and permissions to 750? Sorry, I meant 640! |