Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Permission denied on :ext: protocol

0 views
Skip to first unread message

Stephen Rasku

unread,
Apr 30, 2001, 12:48:22 PM4/30/01
to info...@gnu.org
I am trying to get the :ext: protocol working with rsh with little
success. When I try and checkout, I get:

Permission denied.
cvs [checkout aborted]: end of file from server (consult above
messages if any)

I can execute cvs remotely:


users/tgx 11 >rsh lima cvs
Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
Cyclic Software at http://www.cyclic.com/ or
Pascal Molli's CVS site at
http://www.loria.fr/~molli/cvs-index.html

My CVSROOT is set to :ext:tgx@lima:/space/cvsroot and tgx is the user
on the client side as well. I can access the repository and seem to
have write permissions:


users/tgx 14 >rsh lima touch /space/cvsroot/comox/foo
users/tgx 15 >rsh ls -l /space/cvsroot/comox/foo
ls: unknown host
users/tgx 16 >rsh lima !*
rsh lima ls -l /space/cvsroot/comox/foo
-rw-r--r-- 1 tgx pgmmrs 0 Apr 30 09:38
/space/cvsroot/comox/foo

Any ideas?

--
Stephen Rasku E-mail: ste...@tgivan.com
Senior Software Engineer Web: http://www.pop-star.net/
TGI Technologies


_______________________________________________
Info-cvs mailing list
Info...@gnu.org
http://mail.gnu.org/mailman/listinfo/info-cvs

Larry Jones

unread,
Apr 30, 2001, 1:28:54 PM4/30/01
to ste...@tgivan.com, info...@gnu.org
Stephen Rasku writes:
>
> I am trying to get the :ext: protocol working with rsh with little
> success. When I try and checkout, I get:
>
> Permission denied.
> cvs [checkout aborted]: end of file from server (consult above
> messages if any)

Upgrade the server to CVS 1.11 (or 1.11.1p1) to get much better error
reporting.

-Larry Jones

That gives me a FABULOUS idea. -- Calvin

Stephen Rasku

unread,
Apr 30, 2001, 5:38:21 PM4/30/01
to larry...@sdrc.com, info...@gnu.org

>Subject: Re: Permission denied on :ext: protocol
>To: ste...@tgivan.com
>Date: Mon, 30 Apr 2001 13:21:37 -0400 (EDT)
>Cc: info...@gnu.org
>From: larry...@sdrc.com (Larry Jones)

>
>Stephen Rasku writes:
>>
>> I am trying to get the :ext: protocol working with rsh with little
>> success. When I try and checkout, I get:
>>
>> Permission denied.
>> cvs [checkout aborted]: end of file from server (consult above
>> messages if any)
>
>Upgrade the server to CVS 1.11 (or 1.11.1p1) to get much better error
>reporting.
>

I downloaded CVS 1.11 source and applied the cvs-1.11.1-1.11.1p1.diff
patch. The patch applied cleanly except for Changelog. I configured
and built it but when I built it, I got the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../diff -I../zlib
-Iyes/include -g -O2 -c -o server.o `test -f server.c || echo
'./'`server.c
server.c:31: krb5.h: No such file or directory

--
Stephen Rasku E-mail: ste...@tgivan.com
Senior Software Engineer Web: http://www.pop-star.net/
TGI Technologies

Stephen Rasku

unread,
Apr 30, 2001, 7:28:58 PM4/30/01
to larry...@sdrc.com, info...@gnu.org
Larry Jones wrote:

>Stephen Rasku writes:
>>
>> I am trying to get the :ext: protocol working with rsh with
little
>> success. When I try and checkout, I get:
>>
>> Permission denied.
>> cvs [checkout aborted]: end of file from server (consult above
>> messages if any)
>
>Upgrade the server to CVS 1.11 (or 1.11.1p1) to get much better
error
>reporting.
>

I am not getting any more information:

users/tgx 10 >cvs co comox


Permission denied.
cvs [checkout aborted]: end of file from server (consult above
messages if any)

I upgraded to the latest version:

users/tgx 11 >cvs version
Client: Concurrent Versions System (CVS) 1.11.1p1 (client/server)
Server: Permission denied.
cvs [version aborted]: end of file from server (consult above
messages if any)
users/tgx 12 >rsh lima cvs


Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific
command
(specify -H followed by a command name for command-specific
help)
Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see

the CVS home page at http://www.cvshome.org/ or


Pascal Molli's CVS site at
http://www.loria.fr/~molli/cvs-index.html

Any other ideas?

Larry Jones

unread,
May 1, 2001, 12:02:53 PM5/1/01
to ste...@tgivan.com, info...@gnu.org
Stephen Rasku writes:
>
> users/tgx 11 >cvs version
> Client: Concurrent Versions System (CVS) 1.11.1p1 (client/server)
> Server: Permission denied.
> cvs [version aborted]: end of file from server (consult above
> messages if any)
> users/tgx 12 >rsh lima cvs
> Usage: cvs [cvs-options] command [command-options-and-arguments]

Did you upgrade the server, too? (rsh lima cvs -v should tell you for
sure). Do you have $CVS_RSH and/or $CVS_SERVER set? You might try:

rsh lima cvs server
version

-Larry Jones

Well, it's all a question of perspective. -- Calvin

Stephen Rasku

unread,
May 1, 2001, 12:42:45 PM5/1/01
to larry...@sdrc.com, info...@gnu.org
Larry Jones wrote:

>Stephen Rasku writes:
>>
>> users/tgx 11 >cvs version
>> Client: Concurrent Versions System (CVS) 1.11.1p1
(client/server)
>> Server: Permission denied.
>> cvs [version aborted]: end of file from server (consult above
>> messages if any)
>> users/tgx 12 >rsh lima cvs
>> Usage: cvs [cvs-options] command [command-options-and-arguments]
>
>Did you upgrade the server, too? (rsh lima cvs -v should tell you
for
>sure). Do you have $CVS_RSH and/or $CVS_SERVER set? You might
try:
>
> rsh lima cvs server
> version

It turns out there was a couple of things going on:

$CVS_RSH was set to ssh and the particular user wasn't set up to do
ssh authentication. $CVS_SERVER was not set but ksh was not
setting the remote path to /usr/local/bin.

Once I had unset $CVS_RSH and set $CVS_SERVER to /usr/local/bin/cvs
it started to work. Thanks for pointing me in the right direction.

--
Stephen Rasku E-mail: ste...@tgivan.com
Senior Software Engineer Web: http://www.pop-star.net/
TGI Technologies

0 new messages