execute bit set for "group" and "other"?
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
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
*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.
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.
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:
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.