Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!opal!tmpmbx!scuzzy!src From: src@scuzzy.in-berlin.de (Heiko Blume) Newsgroups: comp.unix.misc Subject: Re: Who's in my Directory ? Message-ID: <1990Nov22.225912.8352@scuzzy.in-berlin.de> Date: 22 Nov 90 22:59:12 GMT References: <1990Nov21.004657.10564@mcs.kent.edu> <109092@convex.convex.com> Organization: Contributed Software Lines: 17 tchrist@convex.COM (Tom Christiansen) writes: >In article <1990Nov21.004657.10564@mcs.kent.edu> dpavlich@math-cs.kent.edu (Dave Pavlich) writes: >> Is there a way on unix to find out if someone has 'cd''d into your >> directory ? >Use the BSD fstat if you have it; that one I know works. SysV fuser >I've heard may also help. yep, fuser(1M) does it, but only if you are root. it also says if the directory is the current, parrent, or root directory of the processe(s) that use the given directory. -- Heiko Blume <-+-> src@scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93 public source archive [HST V.42bis]: scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp uucp scuzzy!/src/README /your/home