Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 09:06:25 -0500
From:      Brad Guillory <round@baileylink.net>
To:        FreeBSD-SECURITY <freebsd-security@FreeBSD.ORG>
Subject:   Re: pine 4.21 port issues?
Message-ID:  <20000809090625.A35124@baileylink.net>
In-Reply-To: <200008091352.JAA18476@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Wed, Aug 09, 2000 at 09:52:40AM -0400
References:  <20000808201626.I261@speedy.gsinet> <Pine.GSO.4.10.10008090908070.4913-100000@nenya.ms.mff.cuni.cz> <200008091352.JAA18476@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
I thought that a significant reason for dot locks is flock does not reliably
work over NFS.

(Please correct me.  I would like to be wrong on this one.)

I don't think that this is relevant to FreeBSD-Security though.

BMG

On Wed, Aug 09, 2000 at 09:52:40AM -0400, Garrett Wollman wrote:
> <<On Wed, 9 Aug 2000 09:12:03 +0200 (MET DST), "Vladimir Mencl, MK, susSED" <mencl@nenya.ms.mff.cuni.cz> said:
> 
> > Well, does anybody now, how the locking against the MTA is done?
> 
> Using kernel file locking.
> 
> > How do multiple copies of the MTA lock against each other (e.g.,
> > multiple procmails) ? And how does finally an MUA lock against the
> > MTA ?
> 
> Same way.
> 
> > Is there a convention (or a standard) for this locking?
> 
> It's defined by the local mail delivery agent (in FreeBSD,
> mail.local).  If you read the manual page, this is quite clear.  (Our
> mail.local also creates .lock files, but these cannot be relied upon.
> These files were originally created because early Unix didn't have
> file locking, and have persisted thanks to Sun brain-damage.)  Using
> file locking permits MUAs to operate without any elevated privilege,
> without requiring a world-writable spool directory
> (although the MDA must still run as root in order to write to user
> mailboxes and potentially chown new mailboxes to their respective
> users).
> 
> -GAWollman
> 
> --
> Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
> wollman@lcs.mit.edu  | O Siem / The fires of freedom 
> Opinions not those of| Dance in the burning flame
> MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

-- 
    __O    |     Information wants to be free!     |     __O    Bike
  _-\<,_   |  FreeBSD:The Power to Serve (easily)  |   _-\<,_    to
 (_)/ (_)  | OpenBSD:The Power to Serve (securely) |  (_)/ (_)  Work


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000809090625.A35124>