tcpdump mailing list archives
Re: Permission denied wrigint second file when using
From: Jefferson Ogata <Jefferson.Ogata () noaa gov>
Date: Wed, 13 Sep 2006 18:21:40 +0000
On 2006-09-13 17:16, John Bourke wrote:
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.
I doubt tethereal has anything to do with this.
[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 ?
The directory needs to be writable by the local tcpdump user, which may be "pcap". -- Jefferson Ogata <Jefferson.Ogata () noaa gov> NOAA Computer Incident Response Team (N-CIRT) <ncirt () noaa gov> "Never try to retrieve anything from a bear."--National Park Service - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Permission denied wrigint second file when using -C option John Bourke (Sep 13)
- Re: Permission denied wrigint second file when using Jefferson Ogata (Sep 13)
- Re: Permission denied wrigint second file when using John Bourke (Sep 14)
- Re: Permission denied wrigint second file when using Jefferson Ogata (Sep 13)