Change directory to parent directory closes shell

Documenting this in case someone else runs across it. I just had a weird issue where if I ran cd / in my Mac OS X bash shell, the shell closed. It happened if I cd‘ed to any directory outside of my home directory structure.

In my case, I figured it out when I opened a shell within my terminal by running bash and then trying. The bash shell exited with an error: Abort trap: 6. It turns out that something in the system must have changed, and I needed to recompile my homebrew bash.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>