Wireshark-users: Re: [Wireshark-users] Error when saving to multiple files

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 10 Dec 2009 08:12:46 +0100
Hi,

Just to be clear: this is effectively killing all protection of your home directory, not a safe thing.

The way to go is for option 2 "sudo chmod +s /usr/bin/dumpcap"
And then use /home/<username>/test.cap to write your own files in your own home directory.

Thanks,
Jaap

Nicole Powell wrote:

I actually had to do 'chmod 777 <dir>' but it works great now. Thanks!

------------------------------------------------------------------------
Date: Tue, 8 Dec 2009 13:42:20 -0800
From: alindber@xxxxxxxxx
To: wireshark-users@xxxxxxxxxxxxx
Subject: Re: [Wireshark-users] Error when saving to multiple files

The basic issue is that root does not have write access to the directory you are using. So either change the directory permissions or set dumpcap to suid.

1 - chmod 666 <dir> or
2 - sudo chmod +s dumpcap

Best of luck
Alex Lindberg

--- On *Tue, 12/8/09, Nicole Powell /<mznikkip@xxxxxxxxxxx>/* wrote:


    From: Nicole Powell <mznikkip@xxxxxxxxxxx>
    Subject: [Wireshark-users] Error when saving to multiple files
    To: wireshark-users@xxxxxxxxxxxxx
    Date: Tuesday, December 8, 2009, 12:43 PM


    I am using Ubuntu 9.10 with Wireshark 1.2.2 running as sudo. I want
    to capture multiple files, 50KB in size and save them in one
    directory. However when I check 'use multiple files' and 'next file
    every _50KB_; and name the file in the filename box I get the
    following error:

    ""The file to which the capture would be saved ("/home/test.pcap")
    could not be opened: No such file or directory.""

    Any ideas why this is happening?