Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2000 13:56:27 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc crontab 
Message-ID:  <200012101856.NAA30441@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.NEB.3.96L.1001209223834.82272B-100000@fledge.watson.org>
References:  <200012092254.eB9Msbk55407@hak.lan.Awfulhak.org> <Pine.NEB.3.96L.1001209223834.82272B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 9 Dec 2000 22:42:41 -0500 (EST), Robert Watson <rwatson@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




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