tcpdump mailing list archives

Permission denied wrigint second file when using -C option


From: "John Bourke" <John.Bourke () MobileInternet com>
Date: Wed, 13 Sep 2006 18:16:44 +0100

Hi,

 

I have a problem with using tethereal to capture and write series of files.
The first file writes ok, so there cannot be an issue with file access of
any type.  The second file gives an error.

 

[root@Linux root]# mkdir test

[root@Linux root]# cd test

[root@Linux test]# ls -l

total 0

[root@Linux test]# /usr/sbin/tcpdump -i eth0 -w test.cap -s 0 -C 1

tcpdump: listening on eth0

tcpdump: test.cap2: Permission denied

[root@Linux test]# ls -l

total 984

-rw-r--r--    1 root     root      1000531 Sep 13 11:36 test.cap

[root@Linux test]#

 

Any ideas ?

 

John

 

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


Current thread: