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. |
Quote:
The error is clear...the root user is not allowed to commit files to the CVS repository. Did you try to read the documentation? http://www.network-theory.co.uk/docs...rmessages.html Code:
'root' is not allowed to commit files |
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. please help me |
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. |
Quote:
|
Quote:
|
@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? |
OP was 2011-07-14
just thought I would mention that :) and as has already been mentioned doing 'routine' day to day things as root is not a good idea root should only be used when absolutely needed via Code:
su -c "SomeCommand andItsArgs" |
All times are GMT -5. The time now is 11:05 PM. |