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 that works.
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 $user:cvs .bon
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.
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
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
done
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 what
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 I'm
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 stuff
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?
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 root stuff
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 the
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
very
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 repository up
13 matches
Mail list logo