Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Making files read-only

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

0 votes


Accepted answer

Permanent link
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

0 votes


2 other answers

Permanent link
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

1 vote


Permanent link
I am not aware of any way to have the RTC load operation load a file as read-only.

Cheers,
Geoff

0 votes

Comments

Hi Geoff

Is it possible to have a trigger of some sort to do this?

thanks

anthony

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202

Question asked: Sep 30 '13, 5:58 p.m.

Question was seen: 6,090 times

Last updated: Dec 02 '13, 4:08 p.m.

Confirmation Cancel Confirm