Bug 2492 - cvs pserver tries to access /root
cvs pserver tries to access /root
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: cvs (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-03 01:20 EDT by Bryce McKinlay
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-04 11:57:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bryce McKinlay 1999-05-03 01:20:26 EDT
cvs, running out of inetd as a pserver, incorrectly tries to
access the /root directory when a remote user connects.
Error and Warning messages include the following:

cvs server: cannot open /root/.cvsignore: Permission denied
cvs [server aborted]: can't chdir(/root): Permission denied

This would appear to be a problem triggered by glibc 2.1 or
inetd since the .src.rpm from 6.0, when built on RH5.2, does
not exhibit this problem.

A (nasty) workaround is to chmod +x /root
Comment 1 Jeff Johnson 1999-05-04 11:57:59 EDT
You have not configured your pserver correctly. Try "info cvs"
and search for indetd. If you had configured correctly, then
either
	1) you waould have had root access because that's the user
	inetd uses to start a pserver
	2) you would have been in pserver mode and would not have
	tried to access $HOME fro the invoking user (i.e. /root

Note You need to log in before you can comment on or make changes to this bug.