Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 1998 00:41:44 -0500
From:      Kenneth Miller <kemiller@hcs.harvard.edu>
To:        freebsd-stable@FreeBSD.ORG
Subject:   odd getcwd behavior
Message-ID:  <19980303004144.55817@hcs.harvard.edu>

next in thread | raw e-mail | index | archive | help
getcwd has started to misbehave since i installed -stable.  the
following illustrates:

[whitestar /]% lld usr
drwxr-xr-x  21 root     wheel         512 Feb  9 16:47 usr/
[whitestar /]% cd usr
[whitestar /usr]% sh
$ pwd
/usr
$ exit
[whitestar /usr]% lld local
drwxr-xr-x  22 root     wheel         512 Feb 26 18:54 local/
[whitestar /usr]% cd local
[whitestar /usr/local]% sh
sh: cannot determine working directory
$ pwd
pwd: getcwd() failed: Permission denied
$ 

the initial shell is zsh, which works fine, as does bash.  sh, csh, and
tcsh all suffer.  it only seems to affect the /usr/local partition,
which is particularily odd.  apologies if i've missed something
obvious.


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?19980303004144.55817>