From owner-freebsd-current@FreeBSD.ORG Wed Jun 14 13:20:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2192216A479 for ; Wed, 14 Jun 2006 13:20:36 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id C15EF43D45 for ; Wed, 14 Jun 2006 13:20:35 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id A465678B7D; Wed, 14 Jun 2006 09:20:56 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 65B801A9AA; Wed, 14 Jun 2006 09:20:55 -0400 (EDT) Received: from lists by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FqVIN-0005l1-Lk; Wed, 14 Jun 2006 14:20:31 +0100 Date: Wed, 14 Jun 2006 14:20:31 +0100 From: Brian Candler To: marinosi@ceid.upatras.gr Message-ID: <20060614132031.GA22099@uk.tiscali.com> References: <1150284556.448ff30cb8b07@my.ceid.upatras.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1150284556.448ff30cb8b07@my.ceid.upatras.gr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: Re: getcwd() problem.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 13:20:36 -0000 On Wed, Jun 14, 2006 at 02:29:16PM +0300, marinosi@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.