On 2/18/19 12:55 PM, Grisha Levit wrote:
> On Sun, Feb 17, 2019 at 8:23 PM Chet Ramey <chet.ra...@case.edu> wrote:
>> Thanks for the report. I'll fix it in the next devel branch push.
> 
> One more corner case, only shows up when bash is started by `login`:
> 
> $ set +m; exec /
> -bash: /: Is a directory
> -bash: exec: /: cannot execute: Is a directory
> $ echo "$(ps -o pid,tpgid -p $$)"
>   PID TPGID
> 57430 57429      # 57429 is the login process
> $ set -m; $(:)
> -bash: child setpgid (57437 to 57430): Operation not permitted

I can't reproduce this on my Mac OS X box when I run the devel version
as a login shell and ssh to localhost.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to