Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!psuvax1!flee From: flee@shire.cs.psu.edu (Felix Lee) Newsgroups: comp.unix.wizards Subject: Re: getcwd() and friends. Message-ID: Date: 5 Apr 89 11:04:14 GMT References: <811@mtxinu.UUCP> <12625@swan.ulowell.edu> Sender: news@psuvax1.cs.psu.edu Organization: Penn State University Computer Science Lines: 10 In article <12625@swan.ulowell.edu>, arosen@hawk.ulowell.edu (MFHorn) writes: >Why can't the kernel check access permissions *at the time* of the >fchdir() call just like it does for chdir() and open()? This is fine (in fact SunOS4.0 does this), except you can chdir() to directories you can't open(). Unless you extend open(), fchdir() is less functional than chdir(). -- Felix Lee flee@shire.cs.psu.edu *!psuvax1!shire!flee