[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Too Many Confusing Errors
From: |
Larry Jones |
Subject: |
Re: Too Many Confusing Errors |
Date: |
Fri, 27 Apr 2001 16:13:56 -0400 (EDT) |
Anthony, Ramene writes:
>
> cvs commit: failed to create lock directory for `/usr/local/cvs/lib'
> (/usr/local
> /cvslocks/lib/#cvs.lock): Permission denied
> cvs commit: lock failed - giving up
> cvs [commit aborted]: lock failed - giving up
>
> Why is permission denied, what am I missing ?
Assuming the error message doesn't really have a newline in the middle
of it, you don't have write permission in /usr/local/cvslocks/lib, so
permission to create the above-mentioned directory is denied.
> cvs [commit aborted]: cannot commit files as 'root' -- Now that is
> confusing!!!
What's confusing? root isn't allowed to do commits because root isn't a
single person, it's almost always a shared account. If CVS can figure
out who you really are (typically, if you log in as yourself and then su
to root, CVS will be able to figure it out), it will allow you to do
commit; otherwise, it won't. If you don't like that, see the comments
in options.h about CVS_BADROOT.
-Larry Jones
What a waste to be going to school on a morning like this. -- Calvin