getcwd() and friends.

Felix Lee flee at shire.cs.psu.edu
Wed Apr 5 21:04:14 AEST 1989


In article <12625 at swan.ulowell.edu>,
   arosen at 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 at shire.cs.psu.edu	*!psuvax1!shire!flee



More information about the Comp.unix.wizards mailing list