Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 22:51:25 +0200 (MET DST)
From:      Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
To:        karl@Mcs.Net (Karl Denninger)
Cc:        michaelh@cet.co.jp, karl@Mcs.Net, freebsd-hackers@FreeBSD.org
Subject:   Re: NFS node: disappearing directory
Message-ID:  <199610182051.WAA01360@ghost.mep.ruhr-uni-bochum.de>
In-Reply-To: <199610181438.JAA22384@Jupiter.Mcs.Net> from Karl Denninger at "18. Oct. 96  9:35:51"

next in thread | previous in thread | raw e-mail | index | archive | help
> > Yup, just tested it
> > 
> > /home2			root		755
> > /home2/contrib		root		711
> > /home2/contrib/joe	joe		700	
> > 
> > As joe,
> > 
> > cd /home2/contrib/joe
> > pwd 
> > /home2/contrib/joe
> 
> Ok, then System Vs "getcwd" works differently.
> 
> The BSD version opens /home2/contrib and READS it.  You can't do that with
> permission 711 (assuming you're not the owner, of course), and as a result,
> "pwd" fails.
> 
> Anyone have any idea how they're doing this?

I tried this on FreeBSD 2.1.5R, ISC 2.2 (SysVr3.2) and AIX
(always on the local FS).
pwd fails on *all* systems in [/tmp/]home2/contrib/joe !

Robert

-- 
Robert Eckardt                \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\       What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de



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