It's all about the answers!

Ask a question

Changing *.sh script properties to Executable


Sheeraz Junejo (1643) | asked May 21 '12, 7:55 a.m.
Hi,

I have a script which I will be loading from Unix machine and run to kick off my build. But I am getting following error;

./build.sh: 0403-006 Execute permission denied.

When I checked the Jazz SCM Properties for this file it says Executable = false.

How can I change this property within RTC to make it Executable = true

Thanks

--

SJunejo

3 answers



permanent link
Ralph Schoon (63.4k33646) | answered May 22 '12, 2:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

have you tried to chmod the file to executable in the unix file system? I believe that change should be reflected in the scm properties.

See:
https://jazz.net/forums/viewtopic.php?p=75670
https://jazz.net/forums/viewtopic.php?p=48530

The posts indicate there was an issue in 3.0.1, however, the general idea is that the SCM system detects the executable flag in Unix and preseves it.

permanent link
Sheeraz Junejo (1643) | answered May 22 '12, 9:06 a.m.
Thanks, will try that and will update the result.

permanent link
Ralph Schoon (63.4k33646) | answered May 22 '12, 9:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I forgot to mention to refresh the navigator/package explorer after doing the chmod. This is required so that SCM recognizes the external change.

Your answer


Register or 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.