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

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to