https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2817
Summary: wireshark/tshark deletes files it can't open
Product: Wireshark
Version: 1.0.2
Platform: PC
OS/Version: All
Status: NEW
Severity: Major
Priority: Low
Component: TShark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: TenToThe9@xxxxxxxxxxx
Build Information:
--
Despite not being able to open a file requested with -w, tshark will delete the
file before exiting. The GUI version, wireshark exhibits the same behavior.
Reproduce with:
1: tshark -w /tmp/a.dump (file created with -rw-------)
2: chown user /tmp/a.dump
3: tshark -w /tmp/a.dump (fails, says it can't open the file, permission
denied)
4: ls -l /tmp/a.dump (No such file...)
Expected behavior: leave the file there.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.