info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pserver login error on checkout (.cvsignore)


From: Larry Jones
Subject: Re: pserver login error on checkout (.cvsignore)
Date: Wed, 20 Dec 2000 15:38:31 -0500 (EST)

Matt Munz writes:
>
>           cvs server: cannot open /var/root/.cvsignore: Permission denied

As has been discussed here frequently, and as it says in the manual,
this means that you've either forgotten the -f on the pserver command
(which you haven't), or your inetd has set $HOME in the pserver's
environment (which it shouldn't).

> # This script initializes the pserver and sets $Home appropriately
> 
> env HOME=/Network/Users/Matt/PserverHome > 
> /Network/Users/Matt/PserverHome/envlog.txt
> cvs -f --allow-root=/untitled/cvsroot pserver

That script doesn't do what you seem to think it does -- it does *NOT*
set $HOME for CVS, it just sets it for the subprocess that prints out
the environment (into /Network/Users/Matt/PserverHome/envlog.txt).  If
you want to set $HOME for CVS, just set it normally:

        HOME=/Network/Users/Matt/PserverHome
        env > /Network/Users/Matt/PserverHome/envlog.txt
        cvs -f --allow-root=/untitled/cvsroot pserver

I'd suggest simply unsetting $HOME instead:

        unset HOME
        cvs -f --allow-root=/untitled/cvsroot pserver

-Larry Jones

When you're as far ahead of the class as I am, it doesn't take much time.
-- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]