Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by kzamora
at 2024-07-25 09:29:34
Point:500 Replies:2 POST_ID:828611USER_ID:11463
Topic:
Document Management;;
I created a ClearCase label and then applied it to an entire directory.
Afterward, I locked the label. It said "Locked for all users" which I understand it should be locked for me as well.
My understanding is that file versions which have locked labels cannot be deleted/removed.
However, I can still delete a file in my directory.
What am I doing wrong?
Afterward, I locked the label. It said "Locked for all users" which I understand it should be locked for me as well.
My understanding is that file versions which have locked labels cannot be deleted/removed.
However, I can still delete a file in my directory.
What am I doing wrong?
Author: kzamora replied at 2024-07-31 21:03:10
Thanks for giving it a whirl. I like your thinking.
My understanding now is that you have to use "triggers" to prevent accidental deletion. Here is the explanation:
The cleartool rmelem command is one of the most powerful commands in ClearCase because it removes a complete element from version control. This command destroys information irretrievably. Using it carelessly may compromise your organization's ability to support previous releases.
It's probably pretty clear why this is one of the first commands on which I like to put a trigger.
Trigger installation / Trigger script
Here is the trigger definition:
cleartool mktrtype -c "Trigger to avoid rmelem command" -element -all -preop rmelem -execwin "ccperl -e "exit 1"" -execunix "Perl -e "exit 1"" NO_RMELEM
Here is the link that talks about import triggers:
http://www.ibm.com/developerworks/rational/library/4311.html#t1
My understanding now is that you have to use "triggers" to prevent accidental deletion. Here is the explanation:
The cleartool rmelem command is one of the most powerful commands in ClearCase because it removes a complete element from version control. This command destroys information irretrievably. Using it carelessly may compromise your organization's ability to support previous releases.
It's probably pretty clear why this is one of the first commands on which I like to put a trigger.
Trigger installation / Trigger script
Here is the trigger definition:
cleartool mktrtype -c "Trigger to avoid rmelem command" -element -all -preop rmelem -execwin "ccperl -e "exit 1"" -execunix "Perl -e "exit 1"" NO_RMELEM
Here is the link that talks about import triggers:
http://www.ibm.com/developerworks/rational/library/4311.html#t1
Expert: duncanb7 replied at 2024-07-29 04:13:46
Do you think it is related to chgrp or chown issue ?
if the locked file is not in the same group that you can delete it , I guess
if the locked file is not in the same group that you can delete it , I guess