Deny access to project data when necessary
Occasionally, you may need to deny access to all or most project team members. For example, you
may want to prevent changes to public header files until further notice. The lock
command is designed to enforce such temporary policies:
- Lock all header files in a certain directory:
cleartool lock src/pub/*.h
- Lock the header files for all users except Mary and Fred:
cleartool lock –nusers mary,fred src/pub/*.h
- Lock all header files in the VOB:
cleartool lock eltype:c_header
- Lock an entire VOB:
cleartool lock vob:/vobs/myproj