diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-12-13 09:21:18 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-12-13 09:22:12 -0800 |
commit | 3f0f8227ade6d70b974b86cc270dfb654b34e7ff (patch) | |
tree | 252db52476d19ebf699a42f1cae0d8c860a26e49 /net-misc/peervpn | |
parent | net-misc/peervpn: 0.044-r1 revbump for bug 602550 (diff) | |
download | gentoo-3f0f8227ade6d70b974b86cc270dfb654b34e7ff.tar.gz gentoo-3f0f8227ade6d70b974b86cc270dfb654b34e7ff.tar.bz2 gentoo-3f0f8227ade6d70b974b86cc270dfb654b34e7ff.zip |
net-misc/peervpn: use chown -h for posix compat
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-misc/peervpn')
-rw-r--r-- | net-misc/peervpn/files/peervpn.initd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-misc/peervpn/files/peervpn.initd b/net-misc/peervpn/files/peervpn.initd index 0f891b322218..b607ec3de3f4 100644 --- a/net-misc/peervpn/files/peervpn.initd +++ b/net-misc/peervpn/files/peervpn.initd @@ -27,7 +27,6 @@ start_pre() { } start_post() { - # Use --no-dereference to prevent privilege escalation - # attacks. Fixes bug #602550. - chown --no-dereference "${user}":"${group}" "${logfile}" + # Use -h to prevent privilege escalation attacks. Fixes bug #602550. + chown -h "${user}":"${group}" "${logfile}" } |