Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site homxb.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!homxb!os848 From: os848@homxb.UUCP (M.AJEMIAN) Newsgroups: net.news.adm,net.news.sa,net.sources.d,net.wanted.sources Subject: Re: Beware of Blindly Un-SHARing a File Message-ID: <1451@homxb.UUCP> Date: Sat, 19-Apr-86 18:21:30 EST Article-I.D.: homxb.1451 Posted: Sat Apr 19 18:21:30 1986 Date-Received: Mon, 21-Apr-86 01:56:34 EST References: <947@kitty.UUCP> <2407@prls.UUCP> <1439@garfield.columbia.edu>, <456@aoa.UUCP> Organization: AT&T Bell Labs, Holmdel NJ Lines: 14 Keywords: ``Relink'' April Fool Xref: watmath net.news.adm:617 net.news.sa:277 net.sources.d:131 net.wanted.sources:2200 > Another idea. Don't just run it in an empty subdirectory. Chroot to that > subdirectory. chroot will require that all programs that the shar uses be accessible, meaning you'll have to create a bin directory in the area where you want to create incoming files and link in cat, mkdir, sed, the shell, etc. Also, note that not all UNIX ports either have chroot() or implement it properly. I'm not sure, but someone tells me that the old Zilog Zeus ports of Sys III allow you to use ../../anything to get out of the new root directory. Anyone know if this is true or not? Pat Wood Pipeline Associates, Inc. {ihnp4, attunix} !whuxn!phw5!phw