Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 13:50:12 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        current@FreeBSD.org
Subject:   Re: VFS(?) weirdness
Message-ID:  <20060920095012.GS27667@cell.sick.ru>
In-Reply-To: <200609191539.aa46619@walton.maths.tcd.ie>
References:  <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie>

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

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 ..
<skip>
drwxr-xr-x  19 root  wheel        512 23 ноя  2005 usr
drwxr-xr-x  25 root  wheel        512 20 сен 17:39 var
<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?20060920095012.GS27667>