From owner-freebsd-security Fri Jun 7 15:40:09 1996 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA00318 for security-outgoing; Fri, 7 Jun 1996 15:40:09 -0700 (PDT) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA00307 for ; Fri, 7 Jun 1996 15:40:05 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.5/8.7.3) with ESMTP id PAA00884; Fri, 7 Jun 1996 15:36:44 -0700 (PDT) Message-Id: <199606072236.PAA00884@precipice.shockwave.com> To: "Karl Denninger, MCSNet" cc: nate@sri.MT.net, softweyr@xmission.com, security@FreeBSD.org Subject: Re: FreeBSD's /var/mail permissions In-reply-to: Your message of "Fri, 07 Jun 1996 16:48:01 CDT." Date: Fri, 07 Jun 1996 15:36:43 -0700 From: Paul Traina Sender: owner-security@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Karl, I'm saying that mail.local uses flock(). It does not respect lock files created by other programs. If you want to do something weird because NFS doesn't support locks, be my guest. But if you think it works out of the box, you're wrong. Paul From: "Karl Denninger, MCSNet" Subject: Re: FreeBSD's /var/mail permissions > Mail locking, to be effective, must be soley performed through the use of > the flock() call on the mail file itself. > > Locking schemes relying on other mechanisms are not effective. > > Sorry. Mail locking, to be effective, must *work across machines* so that NFS mounts of the mail directory work. flock() cannot be trusted to work in this environment, and in fact doesn't even attempt to work on FreeBSD. Does this mean we should give up on using mail? -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity Modem: [+1 312 248-0900] | T1 from $600 monthly; speeds to DS-3 available Voice: [+1 312 803-MCS1] | 21 Chicagoland POPs, ISDN, 28.8, much more Fax: [+1 312 248-9865] | Email to "info@mcs.net" WWW: http://www.mcs.ne >>t/ ISDN - Get it here TODAY! | Home of Chicago's only FULL Clarinet feed!