cvsweb ohne Schreiberlaubnis

From: Roland Jesse <jesse(at)prinz-atm.CS.Uni-Magdeburg.De>
Date: 07 Jun 2000 14:08:31 +0200

Leicht offtopic, darum auch "nur" -chat:

Wir setzen hier gerade einen CVS-Server auf. Der wird auch mit
cvsweb-Zugang versehen. Soweit, so gut.

Wenn jetzt jemand aber versucht, mittels cvsweb eine Datei
auszuchecken, dann gibt nur eine Fehlermeldung, wie man sie auch
direkt beim Autor (der Version 1.80, also nicht Bill Fenner)
bekommt. Beispiel:
<http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/cvsweb/INSTALL?rev=1.8&content-type=text/x-cvsweb-markup>

Problem: cvsweb soll nirgends im CVSROOT schreiben können. (Wo kommen
wir denn da hin?)

Aus dem README:

 o check, whether the CGI-script has read-permissions to your
   CVS-Repository. The CGI-script often runs as the user 'nobody'
   or 'httpd' ..

Soweit, so gut. Das ist gegeben. Weiter geht's mit:

   If you use annotation, the user needs to have write-permissions
   to CVSROOT/history and to the directory the file is in in order
   to place the read-lock.
   If you don't like cvsweb to write into your CVSROOT/history, build
   a fake cvsroot with symlinks to the 'real' CVS-directories and make
   a fake CVSROOT/history as symbolic link to /dev/null.

Nicht nötig, da in cvsweg.conf "$allow_annotate = 0;" gesetzt ist.

   If you don't like cvs, called from cvsweb, to place read-locks - let
   cvsweb operate on a copy.

Aber das klingt ja fast so, als ob cvsweb auch zum reinen Lesezugriff
Lock-Dateien im CVSROOT schreiben will. Das kann doch alles nicht
sein. Wenn nobody erst mal im CVSROOT schreiben kann, dann schlafe ich
doch nicht mehr ruhig. Ständig eine Kopie des gesamten CVSROOT zu
halten, ist schon aus Platzgründen nur schwer möglich.

Frage: Hat hier jemand schon einmal erfolgreich cvsweb aufgesetzt ohne
rw-Rechte im CVSROOT für nobody geben zu müssen?

Danke.

        Roland

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-chat" in the body of the message
Received on Wed 07 Jun 2000 - 14:09:33 CEST

search this site