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

Set jazz.executable property on file

 Hi , 

I need to modify permissions on some of my files under RTC source. The files are part of my build process and need to be executable however are the property jazz.executable is showing as false.

Is it possible to change this permission through the Client IDE or via the SCM command line?

Thanks,

0 votes


Accepted answer

Permanent link
Colin, In RTC Eclipse select the file, in the context menu select properties, go to the Jazz Source Control section. In the editor you can change the file properties. I have done this with RTC 4.0.

If you are running on Linux, you could also set the file to executable. SCM should detect that change and change the properties accordingly once you check in and deliver.
Colin Duggan selected this answer as the correct answer

2 votes

Comments

thanks Ralph, once under Jazz Source Control what is the next option? When i select "File  Property Preferences" it opens the Preferences window. Can you tell me what i can change in this window? thanks 

also ive tried setting the files executable bit via cygwin on Windows machine while connected to the RTC repository however RTC does not pick up the changes.  

Windows does not support executable flags in the file system as far as I know.

Colin, please see these screenshots:

Go to properties in Eclipse client
Change the properties

1 vote

thanks Ralph, the Executable field is not modifiable on my version of RTC plugin. I'll update. cheers 

Colin,

yes, I tried with 3.0.1 and the property is not editable. I now remember that was an issue. What I did to solve that once was to install the client on one Linux machine, load the workspace, set the x flag and check the changes back in. If you can't upgrade I would suggest that option. I agree that it is some effort.

Is the build machine a *ux machine?  I assume that, because otherwise the x flag is just not there. You could use this machine. Potentially just use the Jazz command line, change the x flag and check in/deliver.

Shashikant, 
There seems to be issue in  RTC 4.0.0.1 with  file executable property in Linux platform.
A binary file with Executable set to  true  and Execute permission to all ( eg: -rwxrwxr-x.  copyiso )  and checked in and delivered to a stream using  RTC 4.0.0.1 client in  RHEL 6.3 Linux.   to RTC 4.0.0.1 server.

When it is loaded back to workspace from the server with RTC 4.0.0.1 client, the file permissions becomes  -rwxrw-r--.  copyiso.
If RTC 3x client is used to load the same file  to the workspace from RTC 4.0.0.1 server, it loads the  file with right permissions   -rwxrwxr-x.  copyiso

This is causing some build issues  in Linux where there is no execute permission to  group and others.
Is this a  known issue  ?   Is there any work around or setting in the RTC eclipse client for this problem ?

@Ralph When I select "Properties" from the context menu, the Properties dialog does not have "Jazz Source Control" - just "Resource" and "Run/Debug Settings" all other RTC functionality is working, such as create/load repo worspace, accept/check-in/deliver from "Pending Changes" view, etc...

We are on RTC-4.0.7 and can't change releases.

What do I do now?

Thanks, Chris

I just thew away my Eclipse workspace and re-created from scratch and now the "Jazz Source Control" appears in the file properties dialog.

showing 5 of 9 show 4 more comments

One other answer

Permanent link
This was fixed in 4.0. https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=181772

2 votes

Comments

yes im using an older version. cheers

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
× 1,210

Question asked: Oct 17 '12, 6:42 a.m.

Question was seen: 6,586 times

Last updated: Nov 20 '14, 1:33 p.m.

Confirmation Cancel Confirm