🔧 Added custom wireshark hook to pacman
This commit is contained in:
parent
7810f1070b
commit
89446d7805
4 changed files with 47 additions and 9 deletions
9
custom_hooks/wireshark-dumpcap.hook
Normal file
9
custom_hooks/wireshark-dumpcap.hook
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = wireshark-cli
|
||||
|
||||
[Action]
|
||||
Description = Fixing permissions for dumpcap...
|
||||
When = PostTransaction
|
||||
Exec = /bin/sh -c 'chgrp wireshark /usr/bin/dumpcap && setcap cap_net_raw,cap_net_admin=ep /usr/bin/dumpcap'
|
||||
Loading…
Add table
Add a link
Reference in a new issue