linux-l: Re: CVS Server?

Matthias Kranz mskranz at acm.org
Di Dez 5 14:30:00 CET 2000


Quoting "Robin S. Socha" <robin at socha.net>:

> | [cvsadmin at radioactive cvsroot]$ export CVSROOT=/usr/local/cvsroot/
> | [cvsadmin at radioactive cvsroot]$ cvsadmin -c list
> | [robin] - [robin] on system

> | (robin at radioactive):(~)$ export CVSROOT=/usr/local/cvsroot/

> | 
> | (robin at radioactive):(~)$ cvs login
> | cvs login: Sorry, you don't have read/write access to the history file
> | cvs [login aborted]: /usr/local/cvsroot//CVSROOT/history: Permission
> denied

Das History-File ist das einzige fuer welches Du Schreibrecht in
$CVSROOT/CVSROOT brauchst. Du kannst allerdings auch komplett auf
history vezichten.

> | (robin at radioactive):(~)$ cvs -d
> :pserver:robin at localhost:/usr/local/cvsroot login
                           ^^^^^^^^^^^^^^^^^^
Dieser Teil muss EXAKT mit der --allow-root Angabe in der /etc/inetd.conf
uebereinstimmen.

> | (Logging in to robin at localhost)
> | CVS password: 
> | cvs [login aborted]: authorization failed: server localhost rejected
> access

> (robin at radioactive):(~)$ ls -al /usr/local/cvsroot/CVSROOT/history 
> -rw-rw-r--    1 cvsadmin cvsadmin      794 Dez  5 12:51
> /usr/local/cvsroot/CVSROOT/history
> 
> Wenn ich das auf o+w setze:
> 
> ,----
> | (robin at radioactive):(~)$ cvs -d
> :pserver:robin at radioactive.socha.net:/usr/local/cvsroot login
> | (Logging in to robin at radioactive.socha.net)
> | CVS password: 
> | cvs [login aborted]: authorization failed: server
> radioactive.socha.net rejected access
> | 
> | (robin at radioactive):(/tmp)$ cvs co CVSROOT
> | cvs checkout: Updating CVSROOT
> | cvs checkout: failed to create lock directory in repository
> `/usr/local/cvsroot/CVSROOT': Permission denied
> | cvs checkout: failed to obtain dir lock in repository
> `/usr/local/cvsroot/CVSROOT'
> | cvs [checkout aborted]: read lock failed - giving up
> `----

Du kannst die Locks auch in einem anderem Verzeichnis anlegen lassen.
Siehe auch: http://www.belug.org/~kranz/cvs-html/cvs_18.html#IDX568

Gruss,
Matthias
-- 
Matthias Kranz
mskranz at acm.org



Mehr Informationen über die Mailingliste linux-l