Find the answer to your Linux question:
Results 1 to 5 of 5
Heya, Im trying to get a chroot()'ed cvs server setup. I am using "cvsd" which is a chroot wrapper for the cvs pserver. The cvs session is *not* going to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284

    cvs CVSROOT/config: Permission denied error


    Heya,

    Im trying to get a chroot()'ed cvs server setup.

    I am using "cvsd" which is a chroot wrapper for the cvs pserver.
    The cvs session is *not* going to be encrypted.

    I have got to the stage where i have created my cvs server chroot directory with cvsd-buildroot and have added users using cvsd-passwd.

    my CVSROOT environment variable is server:jason@localhost:/src

    When i run: "cvs co <projectname>"

    I get this error message:
    Code:
    cvs &#91;checkout aborted&#93;&#58; unrecognized auth response from localhost&#58; cvs pserver&#58; cannot open /src/CVSROOT/config&#58; Permission denied
    the file is world read/writable:
    Code:
    root@london&#58;/usr/local/src/test# ls -al /data/chroot/cvs/src/CVSROOT/config
    -rw-rw-rw-    1 root     root          990 Feb 26 15&#58;37 /data/chroot/cvs/src/CVSROOT/config
    I have the user "jason" in my CVSROOT/readers file and CVSROOT/writers files.

    I have also tried restarting cvsd.

    cvsd version: cvsd-1.0.1
    cvs verion: cvs-1.11.11

    Any ideas on where to go from here?

    Thanks,

    Jason

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    ok, ive got it...

    For whatever reason the CVSROOT/config and CVSROOT/.#config need to be "executable", so chmodding them 760 and chowning them cvsd:cvsd has done the trick.

    Cheers,

    Jason

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Location
    chicago
    Posts
    1

    help, I have a similar problem

    Hi Jason,

    I encountered the same issue. From XP, I use TortoiseCVS and it is saying CVSROOT, permission denied. In an attempt to get rid of the permissions issue, I chmod 777 for the repository root, CVSROOT, .config, .#config. Still no use. Can you help?

    TIA.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    2

    FC5 & CVSROOT/config permission deny

    I met the same problem too..
    I don't know what and how to do .
    I had granted all to user but still got the error,,
    can someone help me ?
    thanks in advaned

  6. #5
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Smile Did any one resolved their problem?

    Hi,

    Did any one faces a similar proble mand got it resolved.If so please post.Thanks in advance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •