Rubasu
Rubasu

Reputation: 379

ClearCase permission on single directory

I am trying to make one folder in our VOB where it is readable by everyone, but only one group can write to it. This is what I have done, but I am starting to think that I missed something...

  1. I had a new windows group created and added the specific users to it.
  2. I added this group to the vob group list. (Does it have to be added to the PVOB as well?)
  3. I changed "group" owner on the folder to this group.
  4. I added this group to my CLEARCASE_GROUPS environment variable (and restarted.)

I am still getting "permission denied" when I update, and I am not able to add any files under the folder. Did I in fact miss a step?

Upvotes: 1

Views: 945

Answers (1)

VonC
VonC

Reputation: 1323583

You also need to:

  • add this group to your CLEARCASE_PRIMARY_GROUP
  • then create a dynamic view (it will be protected with this group)
  • then mount this vob
  • and try to create a folder in it.

See also "How to restrict VOB read access in ClearCase (Windows Server)?" for a concrete example.

I mention a dynamic view because it will be easier/faster to test the Vob access and folder creation with it. Once it is working, create a snapshot view in the same conditions and it should also work.

Note: if this Vob is an UCM component Vob, I would recommend adding that group at least to the secondary groups of its associated pvob.

Upvotes: 2

Related Questions