Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!dftsrv!hq!mitch From: mitch@hq.af.mil (Mitch Wright) Newsgroups: comp.unix.questions Subject: Re: hiding files under a mount point. Message-ID: Date: 26 Mar 91 17:36:09 GMT References: <1991Mar18.045734.5114@brolga.cc.uq.oz.au> <1991Mar21.175748.27202@NCoast.ORG> Sender: mitch@hq.hq.af.mil Followup-To: comp.unix.questions Organization: Air Force HQ, The Pentagon Lines: 29 In-reply-to: jeffl@NCoast.ORG's message of 21 Mar 91 17:57:48 GMT /* * On 21 Mar 91 17:57:48 GMT, * In article <1991Mar21.175748.27202@NCoast.ORG>, * jeffl@NCoast.ORG (Jeff Leyser) said: * */ George> If you have some files in a directory eg /usr (on the root partition) George> and you mount the filesystem /usr over them, they become "invisible". Jeff> Of course, unmounting the "overlay" will allow you to manipulate the (no Jeff> longer) hidden files in the usual manner. Jeff> But there several better ways to do what (I think) you want. Place the Jeff> files in a directory owned by root, with permission of 700. Users will Jeff> [...] Just write your own library routines that quickly unmount the fs, open the file, and then remount. ~mitch mitch@hq.af.mil (Mitch Wright) | The Pentagon, 1B1046 | (703) 695-0262