I tried the -f flag and making /root unreadable by others it worked great.
Thanks!
John Scott
IS Middleware Services
-----Original Message-----
From: Pavel Roskin [mailto:[EMAIL PROTECTED]]
Sent: 20 July 2000 00:21
To: John Scott
Cc: [EMAIL PROTECTED]
Subject: RE: permission problem(.cvsignore)
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
********************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential, and is
intended exclusively for the addressee.
The views expressed may not be official policy, but the
personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution,
dissemination or use of this communication is not authorised.
If you have received this message in error, please advise
the sender by using the reply facility in your e-mail software.
All messages sent and received by Argos Ltd. are checked
for malicious content.
********************************************************************
application/ms-tnef