From b7e6bb40952be5a7eb1367473092fc498e68b676 Mon Sep 17 00:00:00 2001 From: Matheus Eduardo Garbelini Date: Fri, 10 Sep 2021 06:35:47 +0800 Subject: [PATCH] fix dumpcap permission --- dissectors/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dissectors/build.sh b/dissectors/build.sh index a51f7a6..615c2e9 100755 --- a/dissectors/build.sh +++ b/dissectors/build.sh @@ -41,4 +41,7 @@ clang --std=gnu11 -fPIC -w -O3 -shared -o h4bcm.so build/packet-btbrlmp.c.o buil mkdir -p $WIRESHARK_PLUGINS_FOLDER echo "Copying h4bcm.so to $WIRESHARK_PLUGINS_FOLDER" -sudo cp h4bcm.so $WIRESHARK_PLUGINS_FOLDER +cp h4bcm.so $WIRESHARK_PLUGINS_FOLDER +# Set permission to dumpcap +echo -e "Setting permission to dumpcap: sudo chmod +x /usr/bin/dumpcap\n" +sudo chmod +x /usr/bin/dumpcap