tcpdump mailing list archives

Re: tcpdump: file.pcap0: Permission denied


From: "Mark W. Jeanmougin" <mark.jeanmougin () cchmc org>
Date: Mon, 06 Feb 2012 10:58:18 -0500

Hey Jerome,

I should've been more specific. I wanted to see permissions and ownership on the files created by tcpdump. How about:

tcpdump -i eth0 -s 65535 -w /data/capture_rotate_`date +%Y_%m_%d`.pcap1

tcpdump -i eth0 -s 65535 -w /data/capture_rotate_`date +%Y_%m_%d`.pcap2\
-C 4

ls -al /data/

Also, I tend to do '-s 0'. Why did you pick 65535, anyway? I'm struggling on that one...

Thanks,

MJ

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: