net-misc/peervpn: 0.044-r1 revbump for bug 602550

Fix the openrc init script start_post function to use the chown
--no-dereference option in order to prevent privilege escalation
attacks.

X-Gentoo-bug: 602550
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=602550

Package-Manager: portage-2.3.3
This commit is contained in:
Zac Medico
2016-12-13 09:11:05 -08:00
parent 724596f37d
commit 012351c00a
2 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -27,5 +27,7 @@ start_pre() {
}
start_post() {
chown "${user}":"${group}" "${logfile}"
# Use --no-dereference to prevent privilege escalation
# attacks. Fixes bug #602550.
chown --no-dereference "${user}":"${group}" "${logfile}"
}