From owner-cvs-all Sun Dec 10 10:56:31 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 10 10:56:28 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 9009F37B400; Sun, 10 Dec 2000 10:56:27 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id NAA30441; Sun, 10 Dec 2000 13:56:27 -0500 (EST) (envelope-from wollman) Date: Sun, 10 Dec 2000 13:56:27 -0500 (EST) From: Garrett Wollman Message-Id: <200012101856.NAA30441@khavrinen.lcs.mit.edu> To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc crontab In-Reply-To: References: <200012092254.eB9Msbk55407@hak.lan.Awfulhak.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > usual file locking problem: since they're advisory, they're inter-user and > enforced for root (!). This is a Good Thing. A locking mechanism which did not work for root would be practically useless. (Cf. the POSIX semantics for setuid(), and why we don't implement them.) > As such, any random process running as any random user can acquire > the lock and stack up all your periodic scripts, If and only if they are allowed to open the file in the first place. -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 cvs-all" in the body of the message