Bug#1054606: libcap2-bin: Move /sbin/getcap to /bin

2024-02-10 Thread Christian Kastner
Hi Peter,

On 2023-10-26 19:29, Peter Samuelson wrote:
> Package: libcap2-bin
> Version: 1:2.66-4
> Severity: wishlist
> 
> In my opinion, getcap(8) is useful to run as a non-root user, so it
> should be in /bin rather than /sbin.  This seems analogous to ip(8)
> from iproute2, which was moved to /bin many years ago.

this makes sense in general, but is a bit tricky.

It can't just be moved, as this would break scripts that hard-code
/usr/sbin/getcap.

A symlink wouldn't do much good.

I think what's needed is a move to /bin and a wrapper in /sbin calling
the version in /bin, but emitting a decprecation notice.

However, in the end, this would need to be coordinated by upstream, and
we'd want consistency over all distros. I'll make a ping.

Best,
Christian



Bug#1054606: libcap2-bin: Move /sbin/getcap to /bin

2023-10-26 Thread Peter Samuelson
Package: libcap2-bin
Version: 1:2.66-4
Severity: wishlist

In my opinion, getcap(8) is useful to run as a non-root user, so it
should be in /bin rather than /sbin.  This seems analogous to ip(8)
from iproute2, which was moved to /bin many years ago.

Thanks,
Peter