- Package:
- libcap2-bin
- Source:
- libcap2-bin
- Description:
- POSIX 1003.1e capabilities (utilities)
- Submitter:
- Peter Samuelson
- Date:
- 2024-02-10 09:09:03 UTC
- Severity:
- normal
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
Hi Peter, 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