|
From: Micah A. <mi...@ri...> - 2003-08-05 16:17:43
|
On Mon, 04 Aug 2003, Robert Helmer wrote: > www-data needs write access to /var/www/webwml/CVSROOT/history. > You may want to just make it writable to the CVS group. I neglected to recursively chown, that was my problem :o I notice that there is a password file in /usr/share/sandweb/users/$user, but it never contains anything... if this has my VCS password in it, would this make it so I wouldn't have type in my password everytime I wanted to do a CVS operation? > > 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. I think changing permissions enabled it to work for me. The only thing that does not work now is commits via ssh (they work via local method). I download the file, make a change locally, upload it via sandweb, then choose commit in the CVS pull-down menu. It asks me for my password, then it asks me for a commit message, I put the commit message in and then click GO and nothing happens, the logfile contains this: DEBUG: main in vcs_commit DEBUG: main module_name: web DEBUG: main username: micah DEBUG: main location: /mail/english/common DEBUG: main main_window_url: DEBUG: main params: DEBUG: main Repo name: website DEBUG: main Repo root: /var/www/webwml DEBUG: main VCS sandbox: /usr/share/sandweb/users/micah/website/web//mail/english/common DEBUG: main Repo type: CVS DEBUG: main Filename(s): mail-footer.php DEBUG: SandWeb::Repository Performing commit operation DEBUG: SandWeb::Repository Params: message change to capillaries file mail-footer.php DEBUG: SandWeb::Repository::cvs Performing commit operation DEBUG: SandWeb::Repository::cvs Writing commit msg to /usr/share/sandweb/users/micah/commitmsg (temporarily) DEBUG: SandWeb::Repository::cvs Params: commit DEBUG: SandWeb::Repository::cvs File: commitmsg DEBUG: SandWeb::Repository::cvs Creating Shell object DEBUG: SandWeb::Shell VCS call to Unix shell DEBUG: SandWeb::Shell VCS command is : cd /usr/share/sandweb/users/micah/website/web//mail/english/common && MESSAGE_FILE="/usr/share/sandweb/users/micah/commitmsg" && export MESSAGE_FILE && CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR && SSH_BIN=/usr/bin/ssh && export SSH_BIN && CVS_RSH=/usr/bin/sandweb-ssh && export CVS_RSH && /usr/bin/cvs -q -d ":ext:mi...@mi...:/var/www/webwml" commit 'mail-footer.php' DEBUG: SandWeb::Shell Using VCS username/password DEBUG: SandWeb::Shell Full command is : /usr/bin/sandweb-expect vcs /usr/share/sandweb/users/micah/passwd "cd /usr/share/sandweb/users/micah/website/web//mail/english/common && MESSAGE_FILE="/usr/share/sandweb/users/micah/commitmsg" && export MESSAGE_FILE && CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR && SSH_BIN=/usr/bin/ssh && export SSH_BIN && CVS_RSH=/usr/bin/sandweb-ssh && export CVS_RSH && /usr/bin/cvs -q -d ":ext:mi...@mi...:/var/www/webwml" commit 'mail-footer.php'" Thanks, Micah |