Branch Permission Problem

yccheok
2006-03-14
2013-04-15
  • yccheok
    yccheok
    2006-03-14

    Previously, I try to have user ccyew to have branch only permission at HEAED and all permission in rest of the branches (except HEAD) with the following CVSROOT/access file:

    -- Good access file --
    # CVS ACL definitions file. DO NOT EDIT MANUALLY
    d:ALL:ALL:yccheok!p:
    d:MarkLead:ALL:shyeoh!a:
    d:helloworld:HEAD:shyeoh!t:
    d:helloworld:ALL:shyeoh!a:
    d:VsTape:ALL:shyeoh!a:
    d:VsMark:ALL:kwpang!a:
    d:VsTape:HEAD:ccyew!t:
    d:VsTape:ALL:ccyew!a:
    d:helloworld:HEAD:ccyew!t:
    d:helloworld:ALL:ccyew!a:
    d:VTHAL:ALL:wenyee!a:
    d:ScanProxy:ALL:wenyee!a:
    d:ScanProxyEx:ALL:wenyee!a:
    d:SpicaProjectDocument:ALL:wenyee!a:
    d:ScanProxy:ALL:ykchoor!a:
    d:ScanProxyEx:ALL:ykchoor!a:
    d:VTHAL:ALL:ykchoor!a:
    d:SpicaProjectDocument:ALL:ykchoor!a:
    d:SpicaEx:ALL:ykchoor!a:
    d:VTHAL:ALL:layngor!a:
    d:SpicaProjectDocument:ALL:layngor!a:
    d:ScanProxy:ALL:layngor!a:
    d:ScanProxyEx:ALL:layngor!a:
    d:SpicaProjectDocument:ALL:vincent!a:
    d:SpicaProjectDocument:ALL:hooiling!a:
    d:ALL:ALL:yccheok!a:
    d:ALL:ALL:ALL!n:

    However, when the following access file is used, user ccyew still having write permission on HEAD brach.

    (Previous line

    d:helloworld:HEAD:ccyew!t:
    d:helloworld:ALL:ccyew!a:

    had been move up to the third row)

    -- Bad access file --
    # CVS ACL definitions file. DO NOT EDIT MANUALLY
    d:ALL:ALL:yccheok!p:
    d:MarkLead:ALL:shyeoh!a:
    d:helloworld:HEAD:ccyew!t:
    d:helloworld:ALL:ccyew!a:
    d:helloworld:HEAD:shyeoh!t:
    d:helloworld:ALL:shyeoh!a:
    d:VsTape:ALL:shyeoh!a:
    d:VsMark:ALL:kwpang!a:
    d:VsTape:HEAD:ccyew!t:
    d:VsTape:ALL:ccyew!a:
    d:VTHAL:ALL:wenyee!a:
    d:ScanProxy:ALL:wenyee!a:
    d:ScanProxyEx:ALL:wenyee!a:
    d:SpicaProjectDocument:ALL:wenyee!a:
    d:ScanProxy:ALL:ykchoor!a:
    d:ScanProxyEx:ALL:ykchoor!a:
    d:VTHAL:ALL:ykchoor!a:
    d:SpicaProjectDocument:ALL:ykchoor!a:
    d:SpicaEx:ALL:ykchoor!a:
    d:VTHAL:ALL:layngor!a:
    d:SpicaProjectDocument:ALL:layngor!a:
    d:ScanProxy:ALL:layngor!a:
    d:ScanProxyEx:ALL:layngor!a:
    d:SpicaProjectDocument:ALL:vincent!a:
    d:SpicaProjectDocument:ALL:hooiling!a:
    d:ALL:ALL:yccheok!a:
    d:ALL:ALL:ALL!n:

    Anyone knows why this happen?

    Thank you.

    cheok

     
    • yccheok
      yccheok
      2006-03-14

      Here is the version of CVS which I am using:

      yccheok@cvsserver:~/public_html $ cvs --version

      Concurrent Versions System (CVS) 1.11.18 (client/server)
      with CVSACL Patch 1.2.2 (cvsacl.sourceforge.net)

      Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                              Jeff Polk, and other authors

      CVS may be copied only under the terms of the GNU General Public License,
      a copy of which can be found with the CVS distribution kit.

      Specify the --help option for further information about CVS
      yccheok@cvsserver:~/public_html $