This is related to the privileges that the user opening wireshark has. Just as a temporary solution, what I did is changed the used privileges for other user to be able to read and execute the “/usr/bin/dumpcap”. Use the following command in terminal to do the following.
sudo chmod o+rx /usr/bin/dumpcap
- sudo: gives root privileges
- chmod: used to change the permissions that are assigned to the owner, owner group and others have over a file
- o: specifies others, other users that are not owners and are not a part of the group that is specified for the file.
- +: adds privileges
- r: reading privileges
- w: writing privileges
- x: execution privileges
- /usr/bin/dumpcap: file whose privileges you want to be changed.
To check for other options you can also visit: https://wiki.wireshark.org/CaptureSetup/CapturePrivileges