Hello,
> So the directory is owned by pcap, has 777 rights, but
> when root creates the file, pcap can't write to it.
The good solution would be to get in touch with people having FC4, or
with tcpdump maintainer for FC4.
The bad solution is to use one of these tricks:
Perhaps, setting "umask 0000" before running tcpdump. Then, it has to
be reseted.
Perhaps, creating test.dump owned by pcap before running tcpdump.
Perhaps, editing /etc/passwd to change userid of pcap to 0. This is a
very bad trick, because a vulnerability in tcpdump and Ethereal can be
fatal.
If you have development experience, run "strace tcpdump ..." to see
what the problem is really.
Regards,
Laurent Constantin
http://vigilance.aql.fr/ for vulnerabilities
http://www.laurentconstantin.com/ for network tools