|
From: Robert H. <rh...@cu...> - 2003-08-05 02:11:50
|
On Mon, Aug 04, 2003 at 09:55:00PM -0400, Micah Anderson wrote: > Great, that worked... now I have some questions :) Cool :) > An error occurred. A call to the shell gave us this error code : 1 > cvs checkout: warning: cannot write to history file > /var/www/webwml/CVSROOT/history: Permission denied > cvs checkout: failed to create lock directory for /var/www/webwml/web' > (/var/www/webwml/web/#cvs.lock): Permission denied > cvs checkout: failed to obtain dir lock in repository > /var/www/webwml/web' > cvs [checkout aborted]: read lock failed - giving up www-data needs write access to /var/www/webwml/CVSROOT/history. You may want to just make it writable to the CVS group. > hmm, my system user has permissions to the repository, and can check > out things locally... I tried adding www-data (the apache user) to the > group that owns the repository directory, but I got the same error. The problem with doing it with "local" is that www-data is the user running CVS. Try to "su - www-data" and then do a CVS checkout. When that works, SandWeb will be able to do it. > I tried to set things to be SSH, and then entered my password when I checked > out a module... nothing happened, it just sits there. I looked in > /usr/share/sandweb/users/micah and I see the directory created for my > repository, and I see a password file with a blank space in it, but > nothing in the repository directory and the popup box doesn't give me > an error or any messages, it still shows the password dialogue box. That's weird. I prefer SSH because you can use your own user account and not have to have all checkins appear to be from "www-data", but it should work.. hmm. If you turn on "debug" in /etc/sandweb/sandweb.cfg and retry this operation, you can send the output of /var/log/sandweb.log to the list and we can help to troubleshoot the problem. ( NOTE !!!LOOK at the log BEFORE you send it! it will contain your password!!!) HTH, Rob |