From: Justin MacCarthy (macarthy at domain iol.ie)
Date: Mon 30 Sep 2002 - 15:40:04 IST
Hi all, I'm setting up a cvs server. I've created a user "cvs" , and created
a repository in /home/cvs/repository ,and done a cvs init.
[cvs at domain gotodengo cvs]$ ls -la
drwx--S--- 3 cvs cvs 4096 Sep 30 15:16 repository
[cvs at domain gotodengo repository]$ ls -la
total 12
drwx--S--- 3 cvs cvs 4096 Sep 30 15:16 .
drwx------ 5 cvs cvs 4096 Sep 30 15:15 ..
drwxrwsr-x 3 cvs cvs 4096 Sep 30 15:16 CVSROOT
[cvs at domain gotodengo repository] chmod 770 /home/cvs/repository
[cvs at domain gotodengo repository] chmod g+s /home/cvs/repository
I've also created 2 users cvsdev1 and cvsdev2 and added them to the cvs
group
[cvsdev1 at domain gotodengo project1]$ groups
cvsdev1 cvs
I can login to cvs fine but when a try to import a project, I'm getting a
permissions issue
[cvsdev1 at domain gotodengo cvsdev1]$ cd project1/
[cvsdev1 at domain gotodengo project1]$ ls
test.java
[cvsdev1 at domain gotodengo project1]$ cvs import -m "import Test.java" project1 test
test_1.0
Cannot access /home/cvs/repository/CVSROOT
Permission denied
Can anyone see where I've gone wrong?
Thanks Justin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:09 GMT