Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] Wireshark sudo

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 3 Apr 2007 11:02:55 -0700
On Tue, Apr 03, 2007 at 02:35:49PM +0000, jbernstein@xxxxxxx wrote:

> I've tried changing the umask under which the script to launch 
> wireshark runs, but that gets ignored. So maybe it is Wireshark itself 
> (rather then the shell) setting the permissions of saved files?

Yes, Wireshark sets the umask on the temporary file it uses while 
capturing (look for the umask() call in tempfile.c).  For saved files, I 
believe the temporary file is simply copied over with the same 
permissions it was created with.


Steve