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] dumpcap permissions on files created

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 28 Aug 2010 13:39:33 +0200
On Sat, 28 Aug 2010 13:09:57 +0200, Sake Blok <sake@xxxxxxxxxx> wrote:
> On 28 aug 2010, at 04:30, kevin creason wrote:
> 
>> My problem is that files are saved as the user (root, wireshark, or me) and 600 permissions no matter what I do with umask, setgid, and setcap. I have not found the solution.
>> I really would like to be able to have group permission so that the team can access them without requring dangerous root privilege.
>>
>> What's the magic bullet to accomplish this?
> 
> The file permissions are hardcoded in the source code. I have added
> the option '-g' to dumpcap to enable group read access as this can
> indeed be handy when (automatically) capturing to a ringbuffer.
> 
> To be able to use this feature, you will have to use an automated
> build[1] with a number higher than 33978 (available in a couple of
> hours) or wait for the next 1.5.x development release.
> 
> Cheers,
> 
> 
> Sake
> 
> [1]  http://www.wireshark.org/download/automated/

I think you need to specify /trunk as well, since trunk-1.0, trunk-1.2
and trunk-1.4 share the revision number space.

Thanks,
Jaap