[질문] CVS 문제

naisr00t의 이미지

1.

Quote:

[root@GG CVS.Test]# cvs import -m "test" cvs.test test_project start
cvs import: cannot open /root/.cvsignore: Permission denied
U cvs.test/cvstest.cpp

No conflicts created by this import

[root@GG CVS.Test]#

파일이 올라 가긴 했는데, /root/.cvsignore: Permission denied 이 부분의 메세지
이해할 수가 없습니다.

2. 위와같이 파일을 올렸고, 다른 계정 사용자가 체크인을 하는데 다음과 같이
에러가 납니다.

Quote:

[matthew:~/Workspace/C++] cvs co cvs.test
cvs checkout: cannot open /root/.cvsignore: Permission denied
cvs checkout: Updating cvs.test
cvs checkout: failed to create lock directory for `/home/cvs/cvs.test' (/home/cvs/cvs.test/#cvs.lock): Permission denied
cvs checkout: failed to obtain dir lock in repository `/home/cvs/cvs.test'
cvs [checkout aborted]: read lock failed - giving up
[matthew:~/Workspace/C++]

고수님들 부탁드리겠습니다.

김정균의 이미지

naisr00t wrote:
1.
Quote:

[root@GG CVS.Test]# cvs import -m "test" cvs.test test_project start
cvs import: cannot open /root/.cvsignore: Permission denied
U cvs.test/cvstest.cpp

No conflicts created by this import

[root@GG CVS.Test]#

파일이 올라 가긴 했는데, /root/.cvsignore: Permission denied 이 부분의 메세지
이해할 수가 없습니다.

2. 위와같이 파일을 올렸고, 다른 계정 사용자가 체크인을 하는데 다음과 같이
에러가 납니다.

Quote:

[matthew:~/Workspace/C++] cvs co cvs.test
cvs checkout: cannot open /root/.cvsignore: Permission denied
cvs checkout: Updating cvs.test
cvs checkout: failed to create lock directory for `/home/cvs/cvs.test' (/home/cvs/cvs.test/#cvs.lock): Permission denied
cvs checkout: failed to obtain dir lock in repository `/home/cvs/cvs.test'
cvs [checkout aborted]: read lock failed - giving up
[matthew:~/Workspace/C++]

고수님들 부탁드리겠습니다.

저장소의 권한을 cvs 서버의 구동 유저와 그룹으로 권한을 주시고, 각 접속 유저들을 cvs 그룹에 포함 시켜 주세요.
naisr00t의 이미지

김정균 wrote:
저장소의 권한을 cvs 서버의 구동 유저와 그룹으로 권한을 주시고, 각 접속 유저들을 cvs 그룹에 포함 시켜 주세요.

cvs 서버에서 root 권한으로

#groupadd cvs

그리고 /etc/group 안에 cvs 그룹권한 라인에 naisr00t,luke 추가하고

cvs:x:523:naisr00t,uathebest,luke

#chgrp -R cvs /home/cvs
#chmod ug+rwx /home/cvs /home/cvs/CVSROOT

이런 과정 말씀이신가요? 처음에 했는데요.

제가 잘 못 이해하고 있는 건가요?