ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] MacOSX installation and /dev/bpf permissions

From: Ray Wilson <wilsonhaven@xxxxxxxxx>
Date: Sun, 13 Feb 2011 12:57:23 -0600
Sudo works to. Changing the device file is awkward. Cheers.

On 2/13/11, Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Feb 12, 2011 at 08:43:31AM -0700, Ed Young wrote:
>
>> Can I execute chmod to change the /dev/bpf* permissions?
>
> Yes.
>
>> If so, what should they be? 755?
>
> You need to be able to read from the bpf device, so either change the
> owner to be your username or group to be a group that you're in and give
> read permission to that.  I've always preferred the letter syntax: chmod
> u+r /dev/bpf* gives user read permission without changing the other
> permissions (that's chmod 400 /dev/bpf* for an absolute user read only /
> no access for others for the octally inclined).
>
> ___________________________________________________________________________
> Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>
> mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe
>

-- 
Sent from my mobile device

To do the useful thing, to say the courageous thing, to contemplate
the beautiful thing: that is enough for one man's life.

-- T. S. Eliot (1888-1965)