info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rejected access


From: Lorne Gutz
Subject: rejected access
Date: Tue, 5 Mar 2002 10:25:44 -0500

Hi,

   I'm attempting to set up a pserver but I keep getting
rejected access.  

    1st on the client side, I can log into cvs servers
using pserver.  There is a .cvspass file in my home
directory: example below.
        
address@hidden:~> cat  .cvspass
:pserver:address@hidden:/cvs/src Ay=0=h<Z
:pserver:address@hidden:/cvs/gcc Ay=0=h<Z
:pserver:address@hidden:/home/kde A
address@hidden:~>

    On the server side I have created a repository using
init.  I can log in locally alter files and commit changes.
So it appears as though just the pserver in not working.
On the server I'll show you some of the config.

address@hidden:/usr/local/cvsroot/fct1 > cat /etc/services | grep cvspserver
cvspserver      2401/tcp                        # cvspserver
cvspserver      2401/udp                        # cvspserver

address@hidden:/usr/local/cvsroot/fct1 > cat /etc/inetd.conf | grep 
cvspserver
# cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs 
--allow-root=/mnt/home/cvsroot pserver
 cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs 
--allow-root=/usr/local/cvsroot/fct1 pserver

    

     Then I thought it might be a permissions thing on the 
server.  So I created a user 'anon' , and that didn't help.
I read somewhere that the user had to be able to reate a
file in CVSROOT, so I changed the permissions.  Nothing
seemed to work so I just opened up the prpository to the
world to see if that helped.  Every file in every dir has
777 permissions.  nothing seems to work.
     Here is a copy of what files are in CVSROOT:
address@hidden:/usr/local/cvsroot/fct1 > ls -al
total 28
drwxrwxrwx    7 601      users        4096 Mar  4 13:03 .
drwxrwxr-x    5 601      mt2          4096 Mar  4 11:00 ..
drwxrwxrwx    3 root     root         4096 Mar  4 13:29 CVSROOT
drwxrwxrwx    2 601      users        4096 Mar  4 11:32 Data File
drwxrwxrwx    3 601      users        4096 Mar  4 11:32 Files
drwxrwxrwx    2 601      users        4096 Mar  4 11:32 Icons
drwxrwxrwx    2 601      users        4096 Mar  4 11:32 Technical Data Files
address@hidden:/usr/local/cvsroot/fct1 > ls -al CVSROOT
total 148
drwxrwxrwx    3 root     root         4096 Mar  4 13:29 .
-rwxrwxrwx    1 root     root          493 Mar  4 13:03 .#checkoutlist
-rwxrwxrwx    1 root     root          760 Mar  4 13:03 .#commitinfo
-rwxrwxrwx    1 root     root          527 Mar  4 13:03 .#config
-rwxrwxrwx    1 root     root          753 Mar  4 13:03 .#cvswrappers
-rwxrwxrwx    1 root     root         1025 Mar  4 13:03 .#editinfo
-rwxrwxrwx    1 root     root         1141 Mar  4 13:03 .#loginfo
-rwxrwxrwx    1 root     root         1151 Mar  4 13:03 .#modules
-rwxrwxrwx    1 root     root          564 Mar  4 13:03 .#notify
-rwxrwxrwx    1 root     root          649 Mar  4 13:03 .#rcsinfo
-rwxrwxrwx    1 root     root          879 Mar  4 13:03 .#taginfo
-rwxrwxrwx    1 root     root         1026 Mar  4 13:03 .#verifymsg
drwxrwxrwx    7 601      users        4096 Mar  4 13:03 ..
drwxrwxrwx    2 root     root         4096 Mar  4 13:03 Emptydir
-rwxrwxrwx    1 root     root          493 Mar  4 13:03 checkoutlist
-rwxrwxrwx    1 root     root          693 Mar  4 13:03 checkoutlist,v
-rwxrwxrwx    1 root     root          760 Mar  4 13:03 commitinfo
-rwxrwxrwx    1 root     root          960 Mar  4 13:03 commitinfo,v
-rwxrwxrwx    1 root     root          527 Mar  4 13:03 config
-rwxrwxrwx    1 root     root          727 Mar  4 13:03 config,v
-rwxrwxrwx    1 root     root          753 Mar  4 13:03 cvswrappers
-rwxrwxrwx    1 root     root          953 Mar  4 13:03 cvswrappers,v
-rwxrwxrwx    1 root     root         1025 Mar  4 13:03 editinfo
-rwxrwxrwx    1 root     root         1225 Mar  4 13:03 editinfo,v
-rwxrwxrwx    1 root     root            0 Mar  4 13:03 history
-rwxrwxrwx    1 root     root         1141 Mar  4 13:03 loginfo
-rwxrwxrwx    1 root     root         1341 Mar  4 13:03 loginfo,v
-rwxrwxrwx    1 root     root         1151 Mar  4 13:03 modules
-rwxrwxrwx    1 root     root         1351 Mar  4 13:03 modules,v
-rwxrwxrwx    1 root     root          564 Mar  4 13:03 notify
-rwxrwxrwx    1 root     root          764 Mar  4 13:03 notify,v
-rwxrwxrwx    1 root     root            6 Mar  4 13:29 passwd
-rwxrwxrwx    1 root     root          649 Mar  4 13:03 rcsinfo
-rwxrwxrwx    1 root     root          849 Mar  4 13:03 rcsinfo,v
-rwxrwxrwx    1 root     root          879 Mar  4 13:03 taginfo
-rwxrwxrwx    1 root     root         1079 Mar  4 13:03 taginfo,v
-rwxrwxrwx    1 root     root            0 Mar  4 13:03 val-tags
-rwxrwxrwx    1 root     root         1026 Mar  4 13:03 verifymsg
-rwxrwxrwx    1 root     root         1226 Mar  4 13:03 verifymsg,v
address@hidden:/usr/local/cvsroot/fct1 >

    And yes I have a passwd file:
address@hidden:/usr/local/cvsroot/fct1 > cat CVSROOT/passwd
anon:

    I even bought a good book on CVS 'Open Source Development
with CVS.  Some good hints in there but nothing seems to work.
I have rebuilt the repository more than once, searched the web
to no avail, so I'm really grasping at straws now.


thanks for any help
Lorne





reply via email to

[Prev in Thread] Current Thread [Next in Thread]