Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 09:38:47 -0500 (CDT)
From:      Karl Denninger  <karl@Mcs.Net>
To:        michaelh@cet.co.jp
Cc:        karl@Mcs.Net, freebsd-hackers@freebsd.org
Subject:   Re: NFS node: disappearing directory
Message-ID:  <199610181438.JAA22384@Jupiter.Mcs.Net>
In-Reply-To: <Pine.SV4.3.93.961018145633.1217B-100000@parkplace.cet.co.jp> from "Michael Hancock" at Oct 18, 96 03:07:13 pm

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?

--
--
Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity
http://www.mcs.net/~karl     | T1 from $600 monthly; speeds to DS-3 available
			     | 23 Chicagoland Prefixes, 13 ISDN, much more
Voice: [+1 312 803-MCS1 x219]| Email to "info@mcs.net" WWW: http://www.mcs.net/
Fax:   [+1 312 248-9865]     | Home of Chicago's only FULL Clarinet feed!



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