Xref: utzoo comp.unix.questions:10331 comp.unix.wizards:12848 Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: what is the 'l' permission? Keywords: atjobs Message-ID: <504@auspex.UUCP> Date: 25 Nov 88 00:15:55 GMT References: <71@attibr.UUCP> <4594@ptsfa.PacBell.COM> <483@auspex.UUCP> <4945@b-tech.ann-arbor.mi.us> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 8 >Can someone explain "mandatory locking" as used here. I find that Sys V.3 >allows two processes to open and write to a file with 'l' permisssions. As it is supposed to. "Mandatory locking" merely means that if you use "fcntl" or "lockf" to lock a region of the file, attempts to write the locked region of the file will block until the lock is released, and if the lock is also supposed to block attempts to read that region, it will do that as well.