🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cmu.cs.general
Article #143

Determining who holds a lock ona public file

#143
From: Gerry Roston
Date: Fri, 14 Feb 1992 18:25
20 lines
2088 bytes
First, I received a prompt answer to yesterday's query.  Today's
question is this:

I have a file that has protection 777.  This is a publically accesible
database file.  Their are two users, A and B.  A starts the database
and [the program] uses lockf to lock the database file.  B starts up
the database and obviously can not get the lock.  Is there some way to
imform B that it is A who has the lock?  

--
Gerry Roston (gerry@cs.cmu.edu) | The fairest thing we can experience is the
Field Robotics Center,          | mysterious.  It is the fundemental emotion
Carnegie Mellon University      | which stands at the cradle of true art and
Pittsburgh, PA, 15213           | true science.  He who knows it not and can
(412) 268-3856                  | no longer wonder, no longer feel amazement,
                                | is as good as dead, a snuffed-out candle.
The opinions expressed are mine | Albert Einstein
and do not reflect the official | 
position of CMU, FRC, RedZone,  | 
or any other organization.      | 
Technical Details
Message-ID: <GERRY.92Feb14132516@onion.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!netnews.srv.cs.cmu.edu!gerry
References: <GERRY.92Feb13181819@onion.cmu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,5147958df5dba927
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: 1014db,5147958df5dba927
X-Google-Attributes: gid1014db,public
X-Google-Thread: fb37e,5147958df5dba927
X-Google-Attributes: gidfb37e,public
X-Google-Thread: 10f9b1,5147958df5dba927
X-Google-Attributes: gid10f9b1,public
X-Google-ArrivalTime: 1992-02-14 22:39:12 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!netnews.srv.cs.cmu.edu!gerry
From: gerry@cs.cmu.edu (Gerry Roston)
Newsgroups: cmu.cs.general,comp.lang.c,comp.unix.questions,comp.unix.wizards
Subject: Determining who holds a lock ona public file
Message-ID: <GERRY.92Feb14132516@onion.cmu.edu>
Date: 14 Feb 92 18:25:16 GMT
References: <GERRY.92Feb13181819@onion.cmu.edu>
Reply-To: gerry@cs.cmu.edu (Gerry Roston)
Organization: Field Robotics Center, CMU
Lines: 20
Nntp-Posting-Host: onion.frc.ri.cmu.edu
In-Reply-To: gerry@cs.cmu.edu's message of Thu, 13 Feb 92 18:18:19 -0500