Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!star.cs.vu.nl!sater From: sater@cs.vu.nl (Hans van Staveren) Newsgroups: comp.protocols.nfs Subject: Re: Why not export /fs /fs/subdir? Message-ID: <10284@star.cs.vu.nl> Date: 24 Jun 91 08:45:26 GMT References: <1991Jun18.040038.15141@Think.COM> Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam Lines: 30 In article thurlow@convex.com (Robert Thurlow) writes: >In <1991Jun18.040038.15141@Think.COM> barmar@think.com (Barry Margolin) writes: > >>What do vnodes have to do with anything? My point about "fake NFS >>requests" was that a user-written program could send the following RPC >>operations (I'm using pseudocode, not precise representations of the >>procedure calls): > >> mount_handle = Mount("/export/root/foo"); >> outer_handle = Lookup(mount_handle, ".."); >> bar_handle = Lookup(outer_handle, "bar"); > >Have you tried this anywhere and had it give you access to >other filesystems? I'd call systems like that "broken". > >Rob T We have tried it. I can assure you that at least SunOs 4.1.1 NFS servers are broken in the sense you call it. They are also broken in a lot of other senses, but you should await the CERT announcements for that. Just in case you are not convinced, export a subdirectory of a file system so we can mount it from here, send us the name of the machine, the name of the exported subtree, and the name of a file on the same filesystem, but not in the exported subtree, and we will mail you the contents of the socalled unexported file. Hans van Staveren Vrije Universiteit Amsterdam, Holland