[cvsnt] upgraded acl settings...
John Cole
john.cole at uai.com
Fri Mar 3 14:14:26 GMT 2006
Thanks Tony,
I had to use -a nowrite,notag,nocontrol but that worked.
John Cole
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Thursday, March 02, 2006 5:12 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] upgraded acl settings...
John Cole wrote:
> Brian,
> Thanks, that got it.
>
> Now on to a related topic, setting acl's with the new syntax. I want to
> make a branch read only, so in a directory where I have the branch checked
> out, I issued the following command:
>
> cvs chacl -r V2_5 -u default -m "2.5 has been locked" -a read
>
> Then I edited a file and committed it, and it allowed me to commit :-(
What
> is the correct format to make a branch read only for everyone?
>
Just leave the -u out if you want it as the default. You just set an
ACL for user 'default'.
Depending on what is set at the root (or the value of AclMode.. see
other posts) this may not be enough - the default is to allow
everything, so you need to explicitly deny write/tag/control rather than
allow read.
Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list