I just looked at the code in pen.c. It's an accident waiting to happen, given how carelessly it distinguishes between the original original working directory and the `playpen' directory. My guess is that leave_playpen() is getting called more times than make_playpen... - Bill