Hello, John!

> When I set up CVS on RH6.2 I did "chmod o+r /root" to give cvs users read

You should not do it.

> access to /root so that when cvs ran it can see that .cvsignore does not
> exist in /root. This is not exactly secure since everyone can read root.
> I've heard that inetd incorrectly sets the home directory. It was reported
> as fixed in RH6.2 but the problem still occurs.

I was wrong, sorry. Although HOME is not set, CVS gets it from getpwuid()
Inetd is not guilty.

> This was the only way I could get it to work. If anyone has a better
> solution, I would be glad to hear it.

Add "-f" to the arguments for cvs in inetd.conf:
cvspserver stream tcp nowait cvsuser /usr/local/bin/cvs cvs -f \
  --allow-root=/var/lib/cvs

Regards,
Pavel Roskin

Reply via email to