Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!rsm@brl-bmd From: rsm%brl-bmd@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: chroot() Message-ID: <2850@sri-arpa.UUCP> Date: Wed, 6-Jul-83 23:26:43 EDT Article-I.D.: sri-arpa.2850 Posted: Wed Jul 6 23:26:43 1983 Date-Received: Mon, 11-Jul-83 00:28:13 EDT Lines: 12 From: Robert S. MilesYou're both right! The concept of each process having is own pointer to a "root directory" introduced in UNIX Version 7 was not implemented in a completely "secure" manner. As you have shown, on a V7 system it is possible to to access ".." above your root directory. On System III, BSD 4.1, and BSD 4.2 UNIX systems the kernel actually checks to see if you're accessing the name ".." in the root directory, if so it just remaps ".." to be your root directory. Therefore "/.." will always be the same as "/" on one of these more modern systems. -Bob Miles, rsm@BRL