mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
app-backup/burp: set more restrictive permissions on /etc/burp
The user burp server runs as shouldn't be allowed to write to the config directory, just read from it. Gentoo-Bug: https://bugs.gentoo.org/641842 Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
@@ -68,7 +68,7 @@ src_install() {
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0775 /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
@@ -66,7 +66,7 @@ src_install() {
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0775 /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
Reference in New Issue
Block a user