From owner-freebsd-hackers Fri Oct 18 13:52:48 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA23180 for hackers-outgoing; Fri, 18 Oct 1996 13:52:48 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.16]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA23159 for ; Fri, 18 Oct 1996 13:52:33 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.7.5/8.7.3) id WAA01360; Fri, 18 Oct 1996 22:51:26 +0200 (MET DST) From: Robert Eckardt Message-Id: <199610182051.WAA01360@ghost.mep.ruhr-uni-bochum.de> Subject: Re: NFS node: disappearing directory In-Reply-To: <199610181438.JAA22384@Jupiter.Mcs.Net> from Karl Denninger at "18. Oct. 96 9:35:51" To: karl@Mcs.Net (Karl Denninger) Date: Fri, 18 Oct 1996 22:51:25 +0200 (MET DST) Cc: michaelh@cet.co.jp, karl@Mcs.Net, freebsd-hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > 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