[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs server: failed to create lock directory for `/var/lib/cvs/foo' (
From: |
Larry Jones |
Subject: |
Re: cvs server: failed to create lock directory for `/var/lib/cvs/foo' (/var/lib/cvs/foo/#cvs.lock): Permission denied |
Date: |
Tue, 24 Apr 2001 22:21:07 -0400 (EDT) |
Jan writes:
>
> Also on other requests I get different Permissions denied messages. The
> directories and files in /var/lib/cvs (and this directory itself) belongs to
> root.root and cvs is in my inetd.conf as
> cvspserver stream tcp nowait.400 root /usr/sbin/tcpd
> /usr/sbin/cvs-pserver
> So.. what could I be doing wrong?
CVS only runs as root long enough to validate the client's username and
password. Once it has done that, it switches user to run as the client
user. Client users have to have write permission in the repository
directories in order to create lock files or you can set LockDir= in
your CVSROOT/config file to put the lock files elsewhere.
-Larry Jones
They can make me do it, but they can't make me do it with dignity. -- Calvin