Date: Mon, 10 Apr 2000 23:36:39 -0400 From: "Thimble Smith" <tim@mysql.com> To: Graham Menhennitt <gfm@mira.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: weirdness w/ gdb (and others) and home directory Message-ID: <20000410233639.F248@threads.polyesthetic.msg> In-Reply-To: <6WHyOMQjgFa=nE46yanjvQgl54mP@4ax.com>; from gfm@mira.net on Tue, Apr 11, 2000 at 09:28:41AM %2B1000 References: <20000410022851.B8117@threads.polyesthetic.msg> <19960102012211.B660@gamma> <6WHyOMQjgFa=nE46yanjvQgl54mP@4ax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 11, 2000 at 09:28:41AM +1000, Graham Menhennitt wrote: >You don't have a line saying just "cd" at the start of your >.profile/bashrc/.cshrc by any chance, do you? Yes, I do. I traced it down to that just now, and was getting ready to reply to my earliner message like this: *** WARNING: I am a numbskull and anything I write in any of my *** messages is probably total rubbish. Please just delete this *** message from your mailbox. It's not a problem to put 'cd' into your .profile, because that is only run on login shells. If you're using FreeBSD's sh, it's not a problem to put 'cd' in the ENV script, because it only runs that script on interactive shells (as a security enhancement). But if you're using, say, pdksh, then it runs the ENV script on every shell invocation - and this was my problem. I just switched to using ksh recently and so .... Thanks for the tip, and now I'm being more careful about my shell init files, and what I put where. Tim -- WARNING: I'm not very bright, so probably what I've written in this message is either misleading or blatantly wrong. Please feel free to flame or mailbomb me. I deserve it. If I happen to have written any true statements above, it's mere luck and not due to my participation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000410233639.F248>