info-cvs
[Top][All Lists]
Advanced

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

Re: Shared Checkout are for Document control


From: Derek R. Price
Subject: Re: Shared Checkout are for Document control
Date: Mon, 06 Nov 2000 10:15:19 -0500

Richard F Weber wrote:

> In the shared directory, the documents themselves are present, and able
> to get locked by any authorized user.  When the authorized user is done
> editing the file, they can then commit it back in, and lock the file
> back up so a user is required to check the file out..  However, whenever
> I try to do this, all of the files are checked out & owned by user X,
> meaning User Y can't change file permissions on them.  I could use
> sticky bits on the *nix side, but the windows side doesn't have the same
> kind of functionality.

This isn't really how CVS was designed to work.  You CAN use RCS style
locking, but it's not really recommended nor always completely supported.
And you pretty much won't ever have users working out of the same
directory.  Please read the first section of the CVS manual (Overview -
http://www.cvshome.org/docs/manual/cvs_1.html#SEC1 ) and the section on
multiple developers paying special attention to the bits about CVS watch (
http://www.cvshome.org/docs/manual/cvs_10.html#SEC83 ) and think about it
for a bit.  I think you'll be pleasantly surprised.  CVS watch is basically
a mechanism that cooperative developers can use for locking files.
Especially with the 'ci -c' patch but that hasn't made it ot the main
distribution yet and I'm not sure how hard it is to install and use.

The only reason I can imagine that CVS might give you any problems would be
that your docs are binary files and you simply don't need all this extra
functionality, but with conscientious attention to the watch command and
other editors, it should still serve your needs in that case.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
I will not cut corners.
I will not cut corners.
I will not cut corners...

          - Bart Simpson on chalkboard, _The Simpsons_






reply via email to

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