Making files read-only
Anthony Kesterton (7.5k●9●180●136)
| asked Sep 30 '13, 5:58 p.m.
JAZZ DEVELOPER retagged Dec 02 '13, 4:08 p.m. by David Lafreniere (4.8k●7)
Hi
I am looking into how to make certain (binary or non-code) files read-only but still under version control. You can lock a file, but then the file can be edited, just not delivered. Is there a better mechanism to do this? Perhaps there is a way to make the file read-only in your sandbox. thanks anthony |
Accepted answer
Geoffrey Clemm (30.1k●3●30●35)
| answered Oct 04 '13, 12:13 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of any extensibility mechanism provided with the "load" operation that would allow you to do something like this, so you would probably have to run some kind of "make-read-only" script following the load operation. You would also then have to verify that having the file be read-only doesn't disrupt a subsequent "accept" operation that needs to update one of the read-only files.
Anthony Kesterton selected this answer as the correct answer
|
2 other answers
This sounds that a pessimistic locking - which is not there - could help.
If so, look work item 71912, or this RFE on developerWorks and vote for that functionality |
Geoffrey Clemm (30.1k●3●30●35)
| answered Oct 01 '13, 1:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of any way to have the RTC load operation load a file as read-only.
Cheers, Geoff |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.