1

I need to add a source to an element so that operations like modified or checkout the file is prevented after the element is added. Is that possible? How should the permissions be set to achieve this?

Zoe
  • 27,060
  • 21
  • 118
  • 148
user3257666
  • 37
  • 1
  • 5

1 Answers1

0

On that file, you try and lock it (if you are the owner):

 cleartool lock yourFile@@

(note the @@ to impact the element, not the version)

See cleartool lock.

That works if you are the owner of that object (if you added it yourself).

So it isn't so much a "permission" issue (as in chmod); rather a lock issue.
See more at the section "Locks on VOB objects" of the article "VOB and view access control".

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @user3257666 yes: if you lock a folder, you don't prevent checkout on the *existing* elements, but you are preventing any removal or "add to source control" within that folder. – VonC Jan 31 '14 at 17:55
  • The problem is that I locked the folder I cannot upload more elements and i dont want that. I want to be able to add more elements in that folder but prevent checkout or modification on the elements that are already in that folder – user3257666 Feb 05 '14 at 13:52
  • @user3257666 simply unlock the folder (in order for you to upload new elements). Then put a lock on any file within that folder. – VonC Feb 05 '14 at 13:55