Hi,

On Thu, Nov 2, 2023 at 11:21 PM Alex Kompel <[email protected]> wrote:
> If the binary is built with lipcap-ng, tcpdump fails with "Couldn't change 
> ownership of savefile". If HAVE_LIBCAP_NG is defined, chown is called after 
> CAP_CHOWN capability is dropped.
> I believe this is caused by the recent patch introduced as part of 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935112 : 
> https://salsa.debian.org/rfrancoise/tcpdump/-/blob/master/debian/patches/drop-privs-after-opening-savefile.diff

Can you tell me more about the use case for building with libcap-ng?

(For the record, the patch referenced above was introduced in 2019,
it's not recent.)

-- 
Romain Francoise <[email protected]>
https://people.debian.org/~rfrancoise/

Reply via email to