Re: [tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-06 Thread Jerome Yanga
FYI, the command below just give me a Permission Denied error and does not create any files. tcpdump -i eth0 -s 65535 -w /data/capture_rotate_`date +%Y_%m_%d`.pcap2 -C 4 jerome On Mon, Feb 6, 2012 at 8:09 AM, Jerome Yanga wrote: > Mark, > > I tried something and it seems to work n

Re: [tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-06 Thread Jerome Yanga
Mark, I tried something and it seems to work now. I created the file /data/capture_rotate_`date +%Y_%m_%d`.pcap2 first and changed its permission to how you suggested prior to running tcpdump and it started working properly. I picked 65535 so I can capture the everything. Though it should be th

Re: [tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-06 Thread Jerome Yanga
Here is the permission of /data/ # ls -al /data/ total 4104 drwxrwxrwx   2 root root    4096 Feb  6 06:54 . dr-xr-xr-x. 23 root root    4096 Feb  3 06:49 .. -rw-rw-rw-   1 root root 4194304 Feb  3 07:29 capture-seed.txt I saw some articles about disabling AppArmor and tried running the command but

Re: [tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-06 Thread Jerome Yanga
jerome On Mon, Feb 6, 2012 at 5:54 AM, Mark W. Jeanmougin wrote: > On 02/03/2012 07:04 PM, Jerome Yanga wrote: >> >> The permissions on the /data directory is ... >> # ls -alh /data/ >> total 4.1M >> drwxr-xr-x   2 root root 4.0K Feb  3 15:21 . >> dr-xr-xr

Re: [tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-03 Thread Jerome Yanga
ome, > > > On 02/03/2012 01:53 PM, Jerome Yanga wrote: >> >> When I attempt to run the following command... >> >> tcpdump -i eth0 -s 65535 -w /data/capture_rotate_`date +%Y_%m_%d`.pcap >> -C 4 -W 10 -G 300 -z bzip2 -F /data/capture-seed.txt >> &g

[tcpdump-workers] tcpdump: file.pcap0: Permission denied

2012-02-03 Thread Jerome Yanga
When I attempt to run the following command... tcpdump -i eth0 -s 65535 -w /data/capture_rotate_`date +%Y_%m_%d`.pcap -C 4 -W 10 -G 300 -z bzip2 -F /data/capture-seed.txt ...I get the following error. tcpdump: /data/capture_rotate_2012_02_03.pcap0: Permission denied The seed file is just a 4MB f