Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 17:31:21 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        David Malone <dwmalone@maths.tcd.ie>, current@FreeBSD.org
Subject:   Re: VFS(?) weirdness
Message-ID:  <20060920133121.GV27667@cell.sick.ru>
In-Reply-To: <20060920113208.GF738@turion.vk2pj.dyndns.org>
References:  <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie> <20060920095012.GS27667@cell.sick.ru> <20060920113208.GF738@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<skip>
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
<skip>

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060920133121.GV27667>