[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Having a permissions problem with cvspserver in cvs 1.12.12
From: |
Corey Ashford |
Subject: |
Having a permissions problem with cvspserver in cvs 1.12.12 |
Date: |
Fri, 13 Oct 2006 17:45:43 -0700 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Hi,
I've been using CVS for a few months, and never as an administrator
until the last couple of days.
I'm running into a problem with setting up pserver access to a simple
repository on a PowerPC-based SLES 10 machine. I have no problems
getting the pserver setup to work on other machines and cvs variants, so
I suspect there's a configuration problem somewhere that's keeping me
from running correctly on the above configuration.
My repository is in /home/corey/cvsroot on which I have run "cvs init".
The permissions on the repository directory are:
drwxrwxrwx 5 corey users 184 2006-10-13 16:58 /home/corey/cvsroot/
My xinetd.d/cvs file looks like this:
service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/corey/cvsroot pserver
}
and the output of "netstat -l | grep cvs" tells me that cvspserver is
running:
tcp 0 0 *:cvspserver *:* LISTEN
In my workspace, /home/corey/cvstest_pserver, I do the following commands:
elm3b18:corey-1238% setenv CVSROOT
:pserver:address@hidden:/home/corey/cvsroot
elm3b18:corey-1239% cvs login
Logging in to :pserver:address@hidden:2401/home/corey/cvsroot
CVS password:
elm3v18:corey-1240% cvs checkout CVSROOT
cvs [checkout aborted]: could not get working directory: Permission denied
If I add the trace (-t) switch, I get the following
elm3b18:corey-1241% cvs -t checkout CVSROOT
-> main: Session ID is b424530052e4567
-> main loop with CVSROOT=/home/corey/cvsroot
-> safe_location( where=(null) )
-> open_connection_to_server (:pserver:address@hidden:/home/corey/cvsroot)
-> Connecting to elm3b18(127.0.0.2):2401.
cvs checkout: warning: unrecognized response `S -> serve_directory (.)'
from cvs server
cvs checkout: warning: unrecognized response `S -> dirswitch (.,
/home/corey/cvsroot/)' from cvs server
cvs checkout: warning: unrecognized response `S -> my_module (CVSROOT,
Updating, NULL, NULL)' from cvs server
cvs checkout: warning: unrecognized response `S -> serve_directory (.)'
from cvs server
cvs checkout: warning: unrecognized response `S -> dirswitch (.,
/home/corey/cvsroot/)' from cvs server
cvs checkout: warning: unrecognized response `S -> do_cvs_command
(checkout)' from cvs server
cvs checkout: warning: unrecognized response `S -> server_notify()' from
cvs server
cvs [checkout aborted]: could not get working directory: Permission denied
S -> safe_location( where=(null) )
S -> Lock_Cleanup()
S -> Simple_Lock_Cleanup()
S -> server_cleanup()
-> close_connection_to_server ()
I'm hoping one of you recognizes this behavior and has some ideas as to
what I might have done wrong.
I have repeated the above experiments on older OSes also running
PowerPC, and the same OS with x86, and it does not reproduce. I am
seeing this only with cvs 1.12.12 on SLES 10 / and RHEL 5 beta 1 on PowerPC.
If I use a repository on an SLES 10 x86 machine (also running cvs
1.12.12), and access it from the PowerPC machine, it works fine.
Also, I should note that both local and rsh/ssh access to the repository
work fine too.
Unfortunately, using local or rsh/ssh is not an option, because I am
running some Eclipse tests that are verifying that :pserver: access to
repositories works correctly.
My guess is either that this is a configuration problem somehow, or that
there is a problem with the PowerPC build of cvspserver on these OSes.
Thanks for your consideration,
- Corey
--
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
address@hidden
- Having a permissions problem with cvspserver in cvs 1.12.12,
Corey Ashford <=