Bug#453292: tshark: Does not use root privileges for writing the capture file

2007-11-28 Thread Ferenc Wagner
Frederic Peters <[EMAIL PROTECTED]> writes: > severity 453292 wishlist > thanks > > Ferenc Wagner wrote: > >> root) the program can write into it. Maybe it's by design, but it took >> me quite some time to find the capset() call in the strace, which I can >> at least blame for this behaviour. Or

Bug#453292: tshark: Does not use root privileges for writing the capture file

2007-11-28 Thread Frederic Peters
severity 453292 wishlist thanks Ferenc Wagner wrote: > root) the program can write into it. Maybe it's by design, but it took > me quite some time to find the capset() call in the strace, which I can > at least blame for this behaviour. Or maybe I'm wrong. It drops everything but capture capab

Bug#453292: tshark: Does not use root privileges for writing the capture file

2007-11-28 Thread Ferenc Wagner
Package: tshark Version: 0.99.4-5.etch.1 Severity: normal Hi, looks like tshark drops too many capabilities when run as root: $ touch pcap $ sudo bash # tshark -w pcap tshark: The file to which the capture would be saved ("pcap") could not be opened: Permission denied. # ls -l pcap -rw-rw-r-- 1