Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: getcwd() and friends. Message-ID: <1410@auspex.auspex.com> Date: 9 Apr 89 01:00:42 GMT References: <3675@ficc.uu.net> <14689@rpp386.Dallas.TX.US> <811@mtxinu.UUCP> <4438@psuvax1.cs.psu.edu> <2001@unisoft.UUCP> <4445@psuvax1.cs.psu.edu> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 5 >For one thing, we could introduce O_CHMOD to open for mode changes. >The open would succeed iff the opener had permission to do a chmod. No, not worth it. "fchmod" can - and does - already check whether you have permission to do a "chmod".