chmod() the temporary capture file to 0600 so that only the user can
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jul 1999 23:06:13 +0000 (23:06 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 31 Jul 1999 23:06:13 +0000 (23:06 +0000)
commitc0a3bc902e24bdbfd6e217117439fe31e028edd9
tree90fcae2dd864e4f387af8a5af809d69046b3775e
parentcd730f5cce40ed7d313bbaa9eba037274ed3f54b
chmod() the temporary capture file to 0600 so that only the user can
read the trace. We chmod() after pcap creates the file, but before it actually
writes data there. Thanks to Frederic Peters <fpeters@multimania.com>,
the Debian maintainer of Ethereal, for pointing this out.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@413 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c
configure.in