From owner-freebsd-current@FreeBSD.ORG Wed Sep 20 09:50:16 2006 Return-Path: X-Original-To: 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 3BD6616A403 for ; Wed, 20 Sep 2006 09:50:16 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A2043D46 for ; Wed, 20 Sep 2006 09:50:15 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8K9oDsm014450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Sep 2006 13:50:13 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8K9oC0g014449; Wed, 20 Sep 2006 13:50:12 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 20 Sep 2006 13:50:12 +0400 From: Gleb Smirnoff To: David Malone Message-ID: <20060920095012.GS27667@cell.sick.ru> References: <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200609191539.aa46619@walton.maths.tcd.ie> User-Agent: Mutt/1.5.6i Cc: current@FreeBSD.org Subject: Re: VFS(?) weirdness 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, 20 Sep 2006 09:50:16 -0000 On Tue, Sep 19, 2006 at 03:39:14PM +0100, David Malone wrote: D> > D> I've tried this on a current machine (as of Sept 16th) and don't D> > D> see the same thing. D> D> > Yep, this box is the only one I observe the bug on. :( I've observed D> > it last few months, and I update to HEAD weekly. Moreover, the D> > /home/glebius directory on thix box is NFS exported and mounted on D> > another box as /home/glebius. On this other box (NFS client) I run th D> > test successfully from /home/glebius, while on NFS server it fails. D> D> Might be worth running /bin/pwd and ktracing it to see what is D> going on? Well, this is what is at the end of ktrace: 952 pwd CALL stat(0x8210800,0xbfbfe9c0) 952 pwd NAMI "../../../.." 952 pwd RET stat -1 errno 13 Permission denied Oops. Well, going up the directory tree, I've found that the '..' entry is unaccessible in the /usr and /var directories: glebius@jujik:/var:|>ls -la ls: ..: Permission denied total 1120 drwxr-xr-x 25 root wheel 512 20 сен 17:39 . drwxrwxr-x 2 root operator 512 19 сен 12:14 .snap drwxr-xr-x 2 root wheel 512 21 авг 2004 account drwxr-xr-x 4 root wheel 512 28 авг 2004 at drwxr-x--- 2 root audit 512 21 мар 2006 audit While the mount point permissions are correct: glebius@jujik:/:|>ls -la total 365 drwxr-xr-x 20 root wheel 512 20 сен 13:37 . drwxr-xr-x 20 root wheel 512 20 сен 13:37 .. drwxr-xr-x 19 root wheel 512 23 ноя 2005 usr drwxr-xr-x 25 root wheel 512 20 сен 17:39 var -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE