Unix Permission Problems for my CVS

Discussion in 'Mac OS X 10.3 (Panther) Discussion' started by obelix, Nov 28, 2004.

  1. obelix macrumors member

    Joined:
    Oct 20, 2004
    #1
    Well I am just in the midst of setting up CVS for OS X an have ran into a road block. What I want to be able to do is have the main user (obelix) in my case be able to have read/write permissions on the entire /usr/local/cvsrep folder including all files and nested folders.

    I have made obelix a member of the cvs-user group

    So upon doing an ls -la I find that

    Praetorian:/usr/local/cvsrep/cvsroot obelix$ ls -la
    total 264
    drwxrwxr-x 36 root cvs-user 1224 24 Nov 18:14 .
    -r--rw-r-- 1 root cvs-user 493 24 Nov 17:24 .#checkoutlist
    -r--rw-r-- 1 root cvs-user 760 24 Nov 17:24 .#commitinfo
    -r--rw-r-- 1 root cvs-user 364 24 Nov 17:24 .#config
    -r--rw-r-- 1 root cvs-user 753 24 Nov 17:24 .#cvswrappers
    -r--rw-r-- 1 root cvs-user 1025 24 Nov 17:24 .#editinfo
    -r--rw-r-- 1 root cvs-user 1141 24 Nov 17:24 .#loginfo
    -r--rw-r-- 1 root cvs-user 1151 24 Nov 17:24 .#modules
    -r--rw-r-- 1 root cvs-user 564 24 Nov 17:24 .#notify
    -r--rw-r-- 1 root cvs-user 649 24 Nov 17:24 .#rcsinfo
    -r--rw-r-- 1 root cvs-user 879 24 Nov 17:24 .#taginfo
    -r--rw-r-- 1 root cvs-user 1026 24 Nov 17:24 .#verifymsg
    drwxrwxr-x 4 root cvs-user 136 24 Nov 18:18 ..
    -r--rw-r-- 1 root cvs-user 493 24 Nov 18:14 checkoutlist
    -r--rw-r-- 1 root cvs-user 694 24 Nov 17:24 checkoutlist,v
    -r--rw-r-- 1 root cvs-user 760 24 Nov 18:14 commitinfo
    -r--rw-r-- 1 root cvs-user 961 24 Nov 17:24 commitinfo,v
    -r--rw-r-- 1 root cvs-user 364 24 Nov 18:14 config
    -r--rw-r-- 1 root cvs-user 565 24 Nov 17:24 config,v
    -r--rw-r-- 1 root cvs-user 753 24 Nov 18:14 cvswrappers
    -r--rw-r-- 1 root cvs-user 954 24 Nov 17:24 cvswrappers,v
    -r--rw-r-- 1 root cvs-user 1025 24 Nov 18:14 editinfo
    -r--rw-r-- 1 root cvs-user 1226 24 Nov 17:24 editinfo,v
    -rw-rwxr-- 1 root cvs-user 0 24 Nov 17:24 history
    -r--rw-r-- 1 root cvs-user 1141 24 Nov 18:14 loginfo
    -r--rw-r-- 1 root cvs-user 1342 24 Nov 17:24 loginfo,v
    -r--rw-r-- 1 root cvs-user 1151 24 Nov 18:14 modules
    -r--rw-r-- 1 root cvs-user 1352 24 Nov 17:24 modules,v
    -r--rw-r-- 1 root cvs-user 564 24 Nov 18:14 notify
    -r--rw-r-- 1 root cvs-user 765 24 Nov 17:24 notify,v
    -r--rw-r-- 1 root cvs-user 649 24 Nov 18:14 rcsinfo
    -r--rw-r-- 1 root cvs-user 850 24 Nov 17:24 rcsinfo,v
    -r--rw-r-- 1 root cvs-user 879 24 Nov 18:14 taginfo
    -r--rw-r-- 1 root cvs-user 1080 24 Nov 17:24 taginfo,v
    -r--rw-r-- 1 root cvs-user 1026 24 Nov 18:14 verifymsg
    -r--rw-r-- 1 root cvs-user 1227 24 Nov 17:24 verifymsg,v

    But yet.... I still cannot write anything...

    Praetorian:~ obelix$ cvs status
    cvs status: Sorry, you don't have read/write access to the history file
    cvs [status aborted]: /usr/local/cvsrep/CVSROOT/history: Permission denied
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    One problem I noticed right away with the permissions you have set: cvs-user shouldn't have execute permission on history if the file isn't executable. See if removing the execute permission does the trick. For doing this, I'd use "chmod -x history" while in the CVSROOT directory.
     

Share This Page