From owner-freebsd-current@FreeBSD.ORG Wed Sep 20 13:35:18 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 758A316A4EF for ; Wed, 20 Sep 2006 13:35:18 +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 177A343DF4 for ; Wed, 20 Sep 2006 13:31:37 +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 k8KDVLOL015897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Sep 2006 17:31:22 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8KDVLrq015896; Wed, 20 Sep 2006 17:31:21 +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 17:31:21 +0400 From: Gleb Smirnoff To: Peter Jeremy Message-ID: <20060920133121.GV27667@cell.sick.ru> References: <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie> <20060920095012.GS27667@cell.sick.ru> <20060920113208.GF738@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060920113208.GF738@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.5.6i Cc: David Malone , 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 13:35:18 -0000 On Wed, Sep 20, 2006 at 09:32:09PM +1000, Peter Jeremy wrote: P> On Wed, 2006-Sep-20 13:50:12 +0400, Gleb Smirnoff wrote: P> >Oops. Well, going up the directory tree, I've found that the '..' P> >entry is unaccessible in the /usr and /var directories: P> > P> >glebius@jujik:/var:|>ls -la P> >ls: ..: Permission denied P> P> Cute. You could try 'ls -ali' as root and verify that the inodes are P> linked correctly. I presume you aren't using MAC or ACLs. Are /usr P> and /var mount points? Yes, /usr and /var are mount points: root@jujik:/usr:|>mount /dev/ad0s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s1e on /usr (ufs, NFS exported, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) root@jujik:/usr:|>ls -ali total 2002062 2 drwxr-xr-x 19 root wheel 512 23 ΞΟΡ 2005 . 2 drwxr-xr-x 20 root wheel 512 20 ΣΕΞ 13:37 .. 3 drwxrwxr-x 2 root operator 512 19 ΣΕΞ 12:08 .snap root@jujik:/usr:|>cd /var root@jujik:/var:|>ls -ali total 1122 2 drwxr-xr-x 25 root wheel 512 20 ΣΕΞ 17:39 . 2 drwxr-xr-x 20 root wheel 512 20 ΣΕΞ 13:37 .. 3 drwxrwxr-x 2 root operator 512 19 ΣΕΞ 12:14 .snap -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE