Sunday, June 28, 2009

A tip in setup CVS over SSH

  • HOST - FC10
  • SERVER - cvs-1.11.23-2
  • CVSROOT - /cvsroot/CVSROOT
  • CVS users - tim, haifeng, weihua,fisher,xianghua, todd
All CVS users and user "cvs" have same group and each CVS user has a cvs login password for authentication in pserver mode. All CVS users will be treated as system user "cvs", everything works fine when I use pserver mode, well, I always get "permission denied" error when I tried to use ext mode and system complains that the user "tim" is not able to access "/cvsroot/CVSROOT/config". By issuing the command "chmod 770 /cvsroot", which grants r,w,x privileges to the users belong to "cvs" group, the error is resolved since user "tim" can now access /cvsroot without any problem. In pserver mode, system considers every valid user as user "cvs", there is no access issue.

No comments:

Post a Comment