Re: Maven's ziptards don't have executable bits set

From: Henrique Prange (hprang..mail.com)
Date: Fri Jan 22 2010 - 11:34:28 EST

  • Next message: Ray Kiddy (JIRA): "[OS-JIRA] Created: (WOL-1142) WOComponent editor only show sub-parts of window needed, not display others"

    Hi Mr. Brown,

    On 22/01/10 12:43, Mr. G Brown wrote:
    > Hi Henrique,
    >
    > Thanks.
    >
    > I used the maven-wolifecyle-plugin 2.1-SNAPSHOT and it did have the
    > executable bit set on the files one gets derived from the *tar.gz artifacts.
    >
    > However, it also set the executable bit on all the files. I am not a
    > security expert, but in general, I think you want to only set the
    > execute bit on 2 files inside the myapp.woapplication.tar.gz.

    Sure. You're completely right. I've reopened the issue WOL-1140.

    > When the myapp.woa gets transformed into the myapp.woapplication.tar.gz
    > those /bin/sh scripts, which are used to launch the app on a unix
    > platform, did loose their executable bit. I don't know why tar-ing the
    > myapp.woa would drop the bits; its not a standard tar program is it? Is
    > that tar-ing program the culprit?
    >

    The Tar Ant task used in this task doesn't keep permission settings. We
    have to define permissions for files using the tarfileset configurations.

    Cheers,

    Henrique



    This archive was generated by hypermail 2.0.0 : Fri Jan 22 2010 - 11:35:30 EST