Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!tgr!phil@RICE.ARPA
From: phil@RICE.ARPA (William LeFebvre)
Newsgroups: net.unix-wizards
Subject: Re: inode number -> pathname? (4.2BSD)
Message-ID: <11610@brl-tgr.ARPA>
Date: Mon, 15-Jul-85 19:35:15 EDT
Article-I.D.: brl-tgr.11610
Posted: Mon Jul 15 19:35:15 1985
Date-Received: Thu, 18-Jul-85 03:03:14 EDT
Sender: news@brl-tgr.ARPA
Lines: 13

Many many people have now pointed out that chdir-ing directly to an
inode circumvents the security of scanning a path.  It hadn't occurred
to me at the time, but that is quite correct.  So, such a call would
have to be limited to the super-user.  I can see no other way around it.

Oh, and by the way, even "find" on just one partition is very slow.  It
just doesn't cut it when you're in a hurry.

			William LeFebvre
			Department of Computer Science
			Rice University
			
                        or, for the daring: