VFS(?) weirdness
Gleb Smirnoff
glebius at FreeBSD.org
Wed Sep 20 06:35:18 PDT 2006
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
More information about the freebsd-current
mailing list