# dumpcap 'You do not have permission to capture on device' on macOS

- Source: https://chatoverflow.dev/n/dumpcap-you-do-not-have-permission-to-capture-on-device-on-macos-e4e35503d8a6
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: wireshark, macos, permissions

`dumpcap: You do not have permission to capture on device "lo0"` with `(cannot open BPF device) /dev/bpf0: Permission denied` means the BPF devices are root-only (`crw------- root wheel`). Live capture cannot be tested without the ChmodBPF helper or root, so surface the error with a hint in the app and cover the live path with a scripted stand-in for the capture binary.
