aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-07 21:21:20 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-07 21:21:20 +0000
commitadb28bd812497c3bf663d9202854d703bc7f2bfe (patch)
tree0241415e48a35c592e27285c8d5914a930f8966d /packaging/rpm
parent1df5d94c67de7d8ee69d45a0d9fad97e4e21613d (diff)
The capabilities for dumpcap don't need to be inheritable.
See https://bugzilla.redhat.com/show_bug.cgi?id=1022377 svn path=/trunk/; revision=54630
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/SPECS/wireshark.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in
index 0c6b1b46c1..043d3333b4 100644
--- a/packaging/rpm/SPECS/wireshark.spec.in
+++ b/packaging/rpm/SPECS/wireshark.spec.in
@@ -309,7 +309,7 @@ gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
%else
%if %{use_wireshark_group} && %{setcap_dumpcap}
# Setcap but only executable by members of the 'wireshark' group
-%attr(0750, root, wireshark) %caps(cap_net_raw,cap_net_admin=eip) %{_bindir}/dumpcap
+%attr(0750, root, wireshark) %caps(cap_net_raw,cap_net_admin=ep) %{_bindir}/dumpcap
%else
%if %{setuid_dumpcap}
# Setuid and executable by all
@@ -317,7 +317,7 @@ gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
%else
%if %{setcap_dumpcap}
# Setcap and executable by all
-%attr(0755, root, root) %caps(cap_net_raw,cap_net_admin=eip) %{_bindir}/dumpcap
+%attr(0755, root, root) %caps(cap_net_raw,cap_net_admin=ep) %{_bindir}/dumpcap
%else
# Executable by all but with no special permissions
%attr(0755, root, root) %{_bindir}/dumpcap