LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   CVS won't allow "root" to commit changes (http://www.linuxquestions.org/questions/linux-software-2/cvs-wont-allow-root-to-commit-changes-239539/)

RFlaugher 10-06-2004 04:06 PM

CVS won't allow "root" to commit changes
 
I am trying CVS for the first time and I am following a tutorial. When I try to commit my changes I get the message "root" not permited to commit changes. Why is this happening?

hw-tph 10-06-2004 06:07 PM

That's hard to tell since you're not letting us in on any of the details. How do you access the repository? Locally? Through a pserver? Have you set up a chrooted environment that only specific users can access? Error messages?


Håkan

RFlaugher 10-07-2004 07:49 AM

Starting from scratch:

$ export CVSROOT=/cvs
$ cvs init
$ cvs checkout CVSROOT
$ cvs edit config
$ cvs commit config
cvs [commit aborted]: 'root' is not allowed to commit files

hw-tph 10-07-2004 02:43 PM

Add "root" to a line of its own to the $CVSROOT/CVS/writers file. Create it if it doesn't exist. Read the "Cederqvist", the CVS manual and specifically read up on the part under "The repository".

Håkan


All times are GMT -5. The time now is 08:52 AM.