I'm working on a ClearCase repository. Some of the files in it have, for some reason, execution permissions while they shouldn't (they're text files basically). I'll also mention I'm a user without root privilege.
If I check them out, change their permissions (the usual way, not with ct permission -chmod
, which doesn't work), then try to check them back in - I'm told that:
ct: Error: By default, won't create version with data identical to predecessor.
How do I override this default? Or am I going about this the wrong way?
Regarding cleartool checkin
, the correct option would be:
-ide/ntical
(meaning cleartool -ide
or cleartool -identical
: short and long form of the identical
option)
Checks in the element even if the predecessor version is identical to the checked-out version.
By default, the checkin operation is canceled in such cases.
But in your case, this should not be needed: you do not need to checkin a protect
change.
Try first a cleartool protect
command (not cleartool permission
)
cleartool protect -chmod 644 aFile
(provided the restrictions allow the command to work, with or without ACLs)
Check also your umask
(for instance 002) used in your view (if you are on Unix)