|
I am often asked to implement this policy:
"When new elements are created, make their user:group ownership match the ownership of the parent directory"
You can write a trigger that will do this by calculating the parent directory's ownership and then performing a cleartool protect on the newly created element to facilitate the match.
There is one written already and as always, we provide the source code. This script will automatically change the ownership of newly created elements to match the ownership (user and group) of the parent directory
of the new element. This allows for a consistent ownership of elements in a directory as in the above example.
...(more)...
--- Read the whole FAQ article here.
|