bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nested bash 5 interactive sessions without job control


From: Chet Ramey
Subject: Re: nested bash 5 interactive sessions without job control
Date: Tue, 19 Feb 2019 19:28:18 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 2/18/19 12:55 PM, Grisha Levit wrote:
> On Sun, Feb 17, 2019 at 8:23 PM Chet Ramey <chet.ramey@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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]