cvs commit

Under QNX 6.1 with patch A I have been trying to use cvs.

I can create the repository, import source files and check them out fine but
when I try:

cvs commit filename.c

I get an error saying I cannot commit as ‘root’.

There is nothing in the online CVS documentation,
http://www.loria.fr/~molli/cvs/doc/cvs_toc.html
to explain why the root user cannot commit files. Does anyone know why this
is happening, and if there is a way around it?

Thanks.

Paul Jones <paul.jones@bnc.ox.ac.uk> wrote:

Hello Paul,

Under QNX 6.1 with patch A I have been trying to use cvs.

I can create the repository, import source files and check them out fine but
when I try:

cvs commit filename.c

I get an error saying I cannot commit as ‘root’.

There is nothing in the online CVS documentation,
http://www.loria.fr/~molli/cvs/doc/cvs_toc.html
to explain why the root user cannot commit files. Does anyone know why this
is happening, and if there is a way around it?

By default cvs doesn’t allow root users to commit files. This is a snap from
the commit.c.

/*

  • For log purposes, do not allow “root” to commit files. If you look
  • like root, but are really logged in as a non-root user, it’s OK.
    */

For more info goto:
http://groups.yahoo.com/group/info-cvs/message/21540

Best Regards,

Marcin

Thanks.

Paul Jones <paul.jones@bnc.ox.ac.uk> wrote:

Under QNX 6.1 with patch A I have been trying to use cvs

I can create the repository, import source files and check them out fine but
when I try:

cvs commit filename.c

I get an error saying I cannot commit as ‘root’.

Root cannot commit files (it is a feature, not a bug). However, after logging
as user, su root, you are able to commit.
The reason is to avoid an anonymous commit.



There is nothing in the online CVS documentation,
http://www.loria.fr/~molli/cvs/doc/cvs_toc.html
to explain why the root user cannot commit files. Does anyone know why this
is happening, and if there is a way around it?

Thanks.