Functionality bit 19
- Auto Protect "directory" Elements

This portion of the license file contains the functionality bit to:

Automatically protect newly created directory elements as 775 (or some other default - including changing ownership) in the VOB. This is useful for making sure any "night build" continues to work by allowing write permissions to the group as well as the directory owner.

For example, a user creating a new directory would see output like that below:



To change the personality of this bit to make the default of directories other than 775, just make sure to set the special purpose cleartrigger_alias ABS_bit_19_protection_override in the clearbits file. The alias can be set to any valid assignment as per the cleartool man page for cleartool protect. Both absolute values (i.e "770") and symbolic values (i.e. "a-r") can be used. For example, a user creating a new directory when the cleartrigger_alias ABS_bit_19_protection_override is set to "a-r" would see output like that below:



You may also assign the directory "ownership" at this time as well by adding additional information to the special purpose cleartrigger_alias ABS_bit_19_protection_override in the clearbits file. After assigning the permissions you can add -chown or -chgrp options to the value. For example, a user (cclarke) creating a new directory when the cleartrigger_alias ABS_bit_19_protection_override is set to "a-r -chown administrator" would see output like that below:



Valid values for this bit are defined below:

ValueDefines this feature as...
0disabled
1enabled