[cvsnt] Re: cvs chacl usage problem - permission on HEAD
Yan Cheng Cheok
yccheok at gmail.com
Tue Apr 12 10:37:44 BST 2005
Hello all, please note that I had set write permission for non-head
branch for user yccheok. however, user yccheok still cannot commit to
non-head branch unless i turn off the readonly permission at HEAD
branch for user yccheok.
Can anyone please advice on this?
thank you.
cheok
---------------------------------------
E:\sandbox\yccheok\helloworld>cvs lsacl
Directory: .
Owner: vincent
user=vincent,branch=HEAD
read
write
create
tag
control
user=yccheok,branch=HEAD
read
write(deny)
create
tag
control
user=yccheok
read
write
create
tag
control
E:\sandbox\yccheok\helloworld>cvs status
cvs server: Examining .
===================================================================
File: helloworld.c Status: Locally Modified
Working revision: 1.2.2.2
Repository revision: 1.2.2.2 /cvsroot/helloworld/helloworld.c,v
Expansion option: kv
Commit Identifier: d30425b74e162c3
Sticky Tag: cheok (branch: 1.2.2)
Sticky Date: (none)
Sticky Options: -kkv
Merge From: (none)
cvs server: Examining sub
===================================================================
File: sub.c Status: Up-to-date
Working revision: 1.1
Repository revision: 1.1 /cvsroot/helloworld/sub/sub.c,v
Expansion option: kv
Commit Identifier: b48425b71565731
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: -kkv
Merge From: (none)
E:\sandbox\yccheok\helloworld>cvs commit
cvs commit: Examining .
cvs commit: Examining sub
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue) c
cvs server: User yccheok is unable to write to ./helloworld.c - ignoring
E:\sandbox\yccheok\helloworld>cvs chacl -R -r HEAD -u yccheok -a read,write,cre
te,tag,control
setting ACL for directory .
setting ACL for directory sub
E:\sandbox\yccheok\helloworld>cvs commit
cvs commit: Examining .
cvs commit: Examining sub
Log message unchanged or not specified
a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
Action: (continue) c
Checking in helloworld.c;
/cvsroot/helloworld/helloworld.c,v <-- helloworld.c
new revision: 1.2.2.3; previous revision: 1.2.2.2
done
E:\sandbox\yccheok\helloworld>
On Apr 11, 2005 7:55 PM, Gerhard Fiedler <lists at connectionbrazil.com> wrote:
> Yan Cheng Cheok wrote:
>
> > however, when user yccheok try to check in a modified file with sticky
> > tag yccheok (non-HEAD), he will get the error
>
> I'm not sure about the acls; somebody else will have to answer this. I just
> wanted to add an alert here (sorry if that's too obvious for you): just
> because something is a sticky tag doesn't necessarily mean it's a branch.
> The sticky tag needs to be a branch for this to work. You can also put the
> code on a tag -- but this then could (and probably would) still be on the
> HEAD branch.
>
> Gerhard
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>
More information about the cvsnt
mailing list