It's all about the answers!

Ask a question

execute bit set for "group" and "other"?


Dave Marsico (4511014) | asked May 11 '11, 6:02 p.m.
I've noticed that files (scripts) that I have imported via the CLI (on Linux) into RTC with the execute bit set for owner, group and other (i.e. with initial permissions of 755), seem to lose that execute bit for the group and other, regardless of my umask.

Ex. Here is the file that was "shared"... (I ran scm share)

rtp-spvtg-lnx1:294> ls -l get*
-rwxr-xr-x 1 dmarsico eng 404 Apr 27 14:38 getmac.sh

# here is the property for it...
scm property get jazz.executable getmac.sh
.../getmac.sh
jazz.executable - true

# here is when I did a "scm load"
with a umask 0

-rwxr--r-- 1 dmarsico eng 404 May 6 08:14 getmac.sh


Is this expected or am I doing something wrong?

Thx

Dave

2 answers



permanent link
Jochen Bühler (1111) | answered Jan 30 '12, 7:34 a.m.
*bump*

We are having the same issue with scripts that reside in the repository.
Anyone has an idea how to solve this?

In my case the files have the execution option set when I view their RTC preferences. Don't know why all scripts lose their execution bit when loaded by a Build Engine on Linux/Unix.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jan 30 '12, 11:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note that the only way to ensure a response to a particular issue is to
submit it to Rational Support, or as a work item on jazz.net (where you
will be asked to identify sufficient details so that the issue can be
reproduced).

Cheers,
Geoff

On 1/30/2012 7:38 AM, jobuehl wrote:
*bump*

We are having the same issue with scripts that reside in the
repository.
Anyone has an idea how to solve this?

In my case the files have the execution option set when I view their
RTC preferences. Don't know why all scripts lose their execution bit
when loaded by a Build Engine on Linux/Unix.

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.