On Wednesday, 11 March 2026 21:03:56 AEDT Chris Hofstaedtler wrote:
> For Debian I was inclined to remove the sg symlink (again), but that
> seems pointless when the same difference exists in newgrp in the
> first place.

Good point. I didn't notice that.

FWIW, on my Arch system, which does not have sg deployed as a symlink:

$ pacman -Qo $(which newgrp sg)
/usr/bin/newgrp is owned by util-linux 2.41.3-2
/usr/bin/sg is owned by shadow 4.18.0-1
$ 

But more to your point, upstream have indicated that they wouldn't be adverse 
to accepting patches for newgrp to improve compatibility.

https://github.com/util-linux/util-linux/issues/4098#issuecomment-4030146341

In the meantime, I made a little utility that does what I wanted.

https://github.com/boltronics/newsubgrp

Cheers,
Adam

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to