[Top][All Lists]

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

Re: cvs pserver tries to access .cvsignore on server

From: Derek R. Price
Subject: Re: cvs pserver tries to access .cvsignore on server
Date: Fri, 20 Oct 2000 13:51:18 -0400

Russell Stuart wrote:

> Version: 1.10.7rpm: cvs-1.10.7-7 (installed from RH 6.2)O/S: Linux
> 2.2.16 (RH 6.2)When using a Win32 client to access a cvs repository on
> RH 6.2, I kept getting the error message can't access
> "/home/russell/.cvsignore: permission denied".  It turns out that the
> "cvs pserver" was trying to open "$HOME/.cvsignore".  That may be a
> handy feature when running cvs as a client, but when running as a
> pserver it is definitely bad.I don't know if it is relevant, but the
> command line used to invoke the pserver is: /usr/bin/cvs -T /var/tmp
> --allow-root=/CvsRoot pserver

Larry fixed this on the third of this month, but it's not in a release

    2000-10-03  Larry Jones  <larry.jones@sdrc.com>

            * filesubr.c (get_homedir): Ignore $HOME when running in
server mode.

I'm told inetd isn't really supposed to be setting environment variables
for the server anyhow, but the workaround is to stuff env in on the
inetd line and unset HOME.  Something like this:

    /usr/bin/env --unset=HOME /usr/bin/cvs -f -T /var/tmp
--allow-root=/CvsRoot pserver

You should probably throw the '-f' in for good measure too.


Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@openavenue.com     OpenAvenue ( http://OpenAvenue.com )
Black holes are where God divided by zero.

reply via email to

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