nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] MHCONTEXT buglet - send, post slow with dot_lock

2004-11-24 10:21:28
Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu wrote:
-> > solution... a more general solution might be to skip locking if
-> > permissions won't allow the lock file to be created.
-> 
-> Gaak.  No.  In *general*, failure to create the lock file should be a
-> *fatal* error, because silently continuing would allow the collision of
-> two processes over whatever resource is being locked.

Maybe I'm missing something, but I *think* the general assumption when
you're locking these files is that you're going to change them and want
to ensure that someone else doesn't make changes at the same time.  If
you don't have sufficient permissions to modify the file, locking is
irrelevant because you're not going to be changing it anyway.

If there is some other reason why NMH is locking files, let me know.

                       -Robert Tarrall.-
                       Unix System/Network Admin
                       E.Central/Neighborhood Link


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>