getcwd() problem..

Brian Candler B.Candler at pobox.com
Wed Jun 14 13:20:36 UTC 2006


On Wed, Jun 14, 2006 at 02:29:16PM +0300, marinosi at ceid.upatras.gr wrote:
> bash$ cat /etc/passwd  | grep marinosi
> marinosi:*:1001:1001:Ilias Marinos:/home/marinosi:/usr/local/bin/bash
> 
> bash$ ls -ld /home/marinosi/ /usr/local/bin/bash
> drwxr-xr-x  37 marinosi  marinosi    2560 Jun 14 13:10 /home/marinosi/
> -rwxr-xr-x   1 root      wheel     594724 Mar 12 17:58 /usr/local/bin/bash
> 
> Seems ok..

Also check: ls -ld / /home

You're not using NFS or other remote filesystem mounts for /home are you?

If not, then I can't explain why this is happening intermittently. I only
see the symptoms you describe if the directory I'm currently in has been
deleted.


More information about the freebsd-current mailing list