Re: VFS(?) weirdness

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Wed, 20 Sep 2006 17:31:21 +0400
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_at_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_at_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_at_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_at_jujik:/usr:|>cd /var
root_at_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
Received on Wed Sep 20 2006 - 11:35:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC