RE: cvs locally

2002-03-11 Thread Bill Crawford
On Sun, 10 Mar 2002, Patrick Nelson wrote: > Nope that doesn't work. The commits seem to work but then there is an error > of the nature of: > > cvs commit: Examining . > Checking in il.txt; > /usr/local/cvsroot/bon/il/il.txt,v <-- il.txt > new revision: 1.3; previous revision: 1.2 >

Re: cvs locally - My Solution

2002-03-11 Thread Harry Putnam
Gordon Messmer <[EMAIL PROTECTED]> writes: > You're still exploring this as if the repository needs to be owned by > root, which it does not. There is no reason to fight against the > no-root restriction in cvs. Just don't use the tool as root. The OP asked how to access cvs as root without er

Re: cvs locally - My Solution

2002-03-11 Thread Gordon Messmer
On Mon, 2002-03-11 at 08:24, Harry Putnam wrote: > > Seems like quite a lot of huffing and puffing. Although, I'm > certainly not an expert on cvs. wouldn't this have done the job? > > First this assumes sudo is installed and your user is allowed to > sudo all. > ===

Re: cvs locally - My Solution

2002-03-11 Thread Harry Putnam
Patrick Nelson <[EMAIL PROTECTED]> writes: > OK so after browsing through the book Gordon suggested, I got an idea. So I > tested it out and it worked within the environment that I need it to. Here > is the way I did it: > > user="pnelson" > cvslocal="/usr/local/cvsrep" > > mkdir .bon > chown $

RE: cvs locally - My Solution

2002-03-11 Thread Gordon Messmer
On Sun, 2002-03-10 at 23:45, Patrick Nelson wrote: ... > OK so after browsing through the book Gordon suggested, I got an idea. So I > tested it out and it worked within the environment that I need it to. Here > is the way I did it: > > user="pnelson" > cvslocal="/usr/local/cvsrep" I guess tha

RE: cvs locally - My Solution

2002-03-10 Thread Patrick Nelson
Patrick Nelson wrote: - Setting the repository as a normal user (i.e. my username) and the group name as cvs (yep has the proper people there, include my username) did not change any of the errors. The book seem good so I will read through it. However, a quick glance into ver

RE: cvs locally

2002-03-10 Thread Patrick Nelson
Gordon Messmer wrote: - Set the repository up as a normal user, not root. For lots of information on cvs, read the cvs book here: http://cvsbook.red-bean.com/ - Setting the repository as a normal user (i.e. my username) and the group name as cvs (yep has th

RE: cvs locally

2002-03-10 Thread Gordon Messmer
On Sun, 2002-03-10 at 13:56, Patrick Nelson wrote: > Bill Crawford wrote: > - > Try running the commit like "su $user -c 'cvs commit ...'" > Restrictions on doing things as root are usually there with good reason, I'd > try to figure a way of avoiding it. > Can you not run the

RE: cvs locally

2002-03-10 Thread Patrick Nelson
Bill Crawford wrote: - Try running the commit like "su $user -c 'cvs commit ...'" Restrictions on doing things as root are usually there with good reason, I'd try to figure a way of avoiding it. Can you not run the root stuff in one screen/terminal and the cvs stuff in another?

RE: cvs locally

2002-03-10 Thread Patrick Nelson
Patrick Nelson wrote: - Bill Crawford Try running the commit like "su $user -c 'cvs commit ...'" Restrictions on doing things as root are usually there with good reason, I'd try to figure a way of avoiding it. Can you not run the root stuff in one screen/terminal and the cvs st

Re: cvs locally

2002-03-10 Thread Bill Crawford
On Sat, 9 Mar 2002, Patrick Nelson wrote: > I get an error that says "cvs [commit aborted]: cannot commit files as > 'root'" Try running the commit like "su $user -c 'cvs commit ...'" > So I'm wondering what the problem is. Is it that I can't be su to run cvs? > The problem is that the files

Re: cvs locally

2002-03-10 Thread Harry Putnam
Patrick Nelson <[EMAIL PROTECTED]> writes: > So I'm wondering what the problem is. Is it that I can't be su to run cvs? > The problem is that the files I'm creating come from the output of commands > that are run as root user. I'd rather not su the exit and then commit. So > I guess I'm asking

Re: cvs locally

2002-03-09 Thread Gordon Messmer
On Sat, 2002-03-09 at 23:09, Patrick Nelson wrote: > > Decided that I wanted to test something out and so I sent up a local > repository ($cvslocal = /usr/local/cvsroot) using the command: ... > > I get an error that says "cvs [commit aborted]: cannot commit files as > 'root'" Set the reposit