[질문] root계정 cvs commit 에러.....

익명 사용자의 이미지

결론부터 말씀드리면...
소스를 수정하고
$cvs commit -m "xxx에 수정" cvstest.c 하면.
cvs [commit aborted] cannot commit files as 'root'.
라는 에러 메세지가 출력됩니다.
root 계정으로는 commit할수 없나요??

다음은 제가 한 설정입니다.
# cvs -d /shin/cvstest init
hoon과 root 사용자를 cvs 그룹에 추가하기위해
/etc/group에 cvs*510hoon,root 를 vi로 편집

(디렉토리의 권한을 열어 주기위해....)
# chgrp -R cvs /shin/cvstest
# chmod ug+rwx /shin/cvstest /shin/cvstest/CVSROOT
# vi /root/.cshrc 편집
setenv CVSROOT /shin/cvstest 추가함.

설정을 끝내고 테스트...
# cd /test/dir <-- 원본 소스가 위치한 dir
# cvs import -m "메시지" myproject test start
N....
N....
No conflicts created by this import

# cd /home/hoon
# cvs checkout myproject
cvs checkout Updating myproject
U ....
U ....
# cd myproject
# vi test.c (수정)
# cvs commit -m "메세지" test.c
cvs [commit aborted] cannot commit files as 'root'
<<--- 이런 에러 메세지 출력 ㅠㅠ .

참고로 위의 모든작업은 root계정으로 FreeBSD에서 실행한 결과 입니다.
그리고 hoon 계정에서는 commit은 이상없이 됩니다.
그럼..

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.