Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: weird zsh startup behavior

On Sat 9 Aug 1997, Geoff Wing wrote:

> John M. Harres <harres@xxxxxxxx> typed:
> :On Fri 8 Aug 1997, Zoltan Hidvegi wrote:
> :> > Does anyone know under what circumstances zsh will change directory on 
> :> > startup?  I was in root under sh, ran zsh, and zappo, switched directori
> es,
> :> > and not to root's home directory.  Both home directories are automounted
> .
> :> We can only fix this problem if you provide more details about the
> :> problem.  What zsh version, OS, OS version, libc version, compiler are
> :> you using?  Can you reproduce this with zsh -f?  If not, try to find the
> :> command in you startup files which triggers the problem.
> :Sorry, brain on hold.  zsh 3.0.4, Solaris 2.5.1, gcc-, whatever libc
> :Sun ships withe Solaris 2.5.1.
> :Reproduced with zsh -f:
> Can you reproduce it with "zsh -f" and no /etc/zshenv?

With no /etc/z* /.z* (I was running as root), still the same problem.


It seems to occur when I'm in any user's home directory who has a local home
directory (as opposed to those with remote automounted home directories) as
long as that home directory is automounted.

I've tried it on another virtually identical system, with similar, though not
quite the same, results:

ghidora% su                                                                   ~
# cd /home/bthomas
# zsh -f
ghidora:/home/harres# pwd

There is no consistency with the order of the auto_home file, nor the passwd
file for deriving the 'magic' user you end up in the home directory of.

Let me know if there's anything else I can provide.

John Harres

Messages sorted by: Reverse Date, Date, Thread, Author