Control: tags -1 + help On Wed, Aug 07, 2024 at 11:36:40AM +0300, Vincas Dargis wrote: > I was using sg like this: > > ``` > sg fw-torrent transmission-qt > sg fw-skype skypeforlinux > ``` > To launch specific gui applications with changed group, and later I can > handle IP traffic of these specific applications via firewall rules. > > But now it does nothing. > > `sg fw-torrent date` does not print anything, exit code is 0.
Right, this is a feature gap in the new newgrp. It does not support passing a command and will instead spawn a new shell. That also explains the "exit code" of 0, as in the new shell there was no previous program. As a stop-gap I've removed the sg -> newgrp symlink. I would appreciate help typing in the additional code and submitting that to upstream, so we don't have to diverge from upstream forever. I'm sorry about this oversight. Best, Chris