[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem during Commit

From: Larry Jones
Subject: Re: Problem during Commit
Date: Thu, 7 Jun 2001 14:26:42 -0400 (EDT)

=?iso-8859-1?q?Manish=20Koolwal?= writes:
>  I am using pserver method for accessing remote repository. I am
> logged in as some xyz user other than root. Everything works
> fine. But when I try to commit the changes, I get an error
> saying - cannot commit as root. The thing is that I am not root
> but some other user. Why I am getting such a message? What is
> the solution? Any help is appreciated.

"Logging in" only sets the password for a particular cvsroot.  It's the
cvsroot you're using that determines what user you're running as, not
the most recent login.  When you checkout a directory, CVS remembers the
cvsroot you used and re-uses it for all subsequent operations in that
directory unless you override it with a -d global option on the command
line.  So, my guess is that you're working in a directory that was
checked out by root and you're not specifying -d.

-Larry Jones

Physical education is what you learn from having your face in
someone's armpit right before lunch. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]