Can files be set to readonly permission after scm load?
2 answers
Comments
Note that these actions would not cause the files to be loaded as read-only in the file system.
Thank you Kim, however I am afraid what Geoff said is true, it will not cause files to be loaded as read-only in the file system. We need to load file in read-only format.
No, RTC currently provides no way to specify that a file in a sandbox should be loaded as read-only. You can specify that in a given stream, a change to a given file (or to all files in a given component) cannot be delivered, but you cannot specify that a file in a workspace is read-only (i.e. you can always checkin changes to any file that you have read access to).
Thank you Geoffrey for confirming such function does not exist in RTC. Users would like to know if API level source can be modified so that when file load is completed, custom followup action can be performed to change permission of files.
I do not believe that the load functionality in RTC is suitable for customer extension.
I think this Enhancement could help you in some kind.
It is for using some kind of list of files which should be loaded as read only and will only get writable when you set a flag. It's some kind of pessimistic locking:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=93617
Greetings,
Simon
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 17 '13, 12:37 a.m.Did you want the files to be read-only to notify the users that they shouldn't be changing those files? If so, what information in RTC were you expecting that to be based on?