cvs [commit aborted]: 'root' is not allowed to commit files
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cvs [commit aborted]: 'root' is not allowed to commit files
I m new to setup the CVS in linux , i have tried lots but every time whenever i try to commit the change in module or file this error has been generated : cvs [commit aborted]: 'root' is not allowed to commit files
please kindly help me and if u know how to configure CVS on linux pls let me know.
Click here to see the post LQ members have rated as the most helpful post in this thread.
I m new to setup the CVS in linux , i have tried lots but every time whenever i try to commit the change in module or file this error has been generated : cvs [commit aborted]: 'root' is not allowed to commit files
please kindly help me and if u know how to configure CVS on linux pls let me know.
'root' is not allowed to commit files
When committing a permanent change, CVS makes a log entry of who committed the change. If you are committing the change logged
in as "root" (not under "su" or other root-priv giving program), CVS cannot determine who is actually making the change. As such,
by default, CVS disallows changes to be committed by users logged in as "root". (You can disable this option by passing the
--enable-rootcommit option to ‘configure’ and recompiling CVS. On some systems this means editing the appropriate ‘config.h’ file
before building CVS.)
Have you tried using a different user ID to do it? And it would help if you said what version/distro of Linux, and what version of CVS you're using.
cvs commit aborted 'root' is not allowed to commit files
hi TB0ne
could you please tell me the commands use to allow root user to commit file.
which command i have to use to perform below action.
(You can disable this option by passing the
--enable-rootcommit option to ‘configure’ and recompiling CVS.
The whole purpose of CVS is to record the user who made the changes as well as track the changes. Therefore using root defeats a main part of the purpose for CVS. Although you can override this feature, I don't suggest that you do this.
@rakesh, are you able to commit as a non-root user? If not, then respond to TBOne's notes about your distro and version information.
hi TB0ne
could you please tell me the commands use to allow root user to commit file.
which command i have to use to perform below action.
(You can disable this option by passing the
--enable-rootcommit option to ‘configure’ and recompiling CVS.
Did you not read what you posted?? You run the "configure" command (as it says), with "--enable-rootcommit" after it, and recompile CVS. And again, this is a BAD IDEA, and it's disabled by default for a REASON.
Did you not read what you posted?? You run the "configure" command (as it says), with "--enable-rootcommit" after it, and recompile CVS. And again, this is a BAD IDEA, and it's disabled by default for a REASON.
Not to mention that logging in and operating the machine as root is a bad idea to begin with.
@sadi20107, TBOne was not advising someone to configure in this way, they had copied the statements from documentation about this restriction; which unfortunately also notes that this is "possible" if you do the following actions.
My questions are:
Has rakesh@linuxforum gotten their problem resolved?
@sadi20107 is there a different problem you're facing? Are you working with rakesh, or the same person in different logins? Or did you notice TBOne's answer, misinterpret it, and think committing as root was a recommended idea?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.