[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to implement user level security in cvs ?

From: Larry Jones
Subject: Re: how to implement user level security in cvs ?
Date: Thu, 18 Apr 2002 17:35:25 -0400 (EDT)

gabriel rosenkoetter writes:
> Mime-Version: 1.0
> Content-Type: multipart/signed; micalg=pgp-md5;
>       protocol="application/pgp-signature"; boundary="YC8Ek3FeOE8ywfXk"

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE.

> On Thu, Apr 18, 2002 at 04:22:30PM -0400, Larry Jones wrote:
> > The short answer is that a user needs write permission on a directory to
> > modify any of the files in that directory
> Say *what*? You mean that specifically to CVS, I hope?

Yes; that was the context of the discussion.

> (In the real world, the only relevance write permission on a
> directory have is for creation and deletion of files... but you're
> saying that CVS actually creates a new file and unlink()s the old
> one every time...)

Exactly.  Modifying an RCS file generally requires changes throughout
the file, and there's no way to do that (portably) other than rewriting
the file.  CVS (and RCS) always write a whole new file rather than
overwriting the existing file to prevent an unfortunate system crash
from leaving you with a partial file and no way to recover the missing

-Larry Jones

I've got to start listening to those quiet, nagging doubts. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]