[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug when 'cd ..' to a directory who's parent has been deleted
From: |
Mike Frysinger |
Subject: |
Re: bug when 'cd ..' to a directory who's parent has been deleted |
Date: |
Tue, 9 Feb 2016 06:34:40 -0500 |
On 09 Feb 2016 12:22, Odd Beck wrote:
> We all use our number crunching slaves differently, so I have never seen it
> until yesterday, but if it's common then there might be a valid reason to
> investigate this issue and maybe do some bugfixin' :)
sorry, but my posting wasn't to say i think the current behavior in bash
is wrong. i agree w/Chet that when you try to do `cd ..` in a dir that
has been disconnected from the active filesystem namespace, the behavior
is largely to be expected. If $PWD has no actual parent, then you'll
get errors. Falling back to ${PWD%/*} might be nice, but even then it
would be superficial until you managed to get back to the actual fs.
-mike
signature.asc
Description: Digital signature
- Re: bug when 'cd ..' to a directory who's parent has been deleted, (continued)
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Greg Wooledge, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Andreas Schwab, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Andreas Schwab, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Andreas Schwab, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Mike Frysinger, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Odd Beck, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted,
Mike Frysinger <=
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Mike Frysinger, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Odd Arne Beck, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Chet Ramey, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Odd Arne Beck, 2016/02/09
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Linda Walsh, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Andreas Schwab, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Dave Rutherford, 2016/02/08
- Re: bug when 'cd ..' to a directory who's parent has been deleted, Linda Walsh, 2016/02/08