We’re a fairly large project with a single trunk branch. Most of it uses the default permissions, but a few folders have custom permissions – say, only “Builders” group is allowed to check-in.
We want to allow people to create their own private branches out of trunk, where they can freely check-in and merge later (hopefully often). However, creating a branch, the special permissions are copied along with the folders, meaning that people can’t freely check-in into their branch.
- Is there a way to clear special permissions from a branch, or a folder?
- Is there a way to do so automatically, so anyone creating a branch under /private/** will not encounter this problem?
I found out about tf permission (Example:
tf permission /inherit:yes itemSpec). However, the /recursive switch doesn’t work with it. I guess I could write something that runs it recursively…Edit: I finally got around to writing a tool for it: