It looks like there are interoperability problems with storing (or perhaps restoring) permissions from a ZIP file. According to [1]:
Starting with Ant 1.5.2, <zip> can store Unix permissions inside the > archive (see description of the filemode and dirmode attributes for > <zipfileset> <http://ant.apache.org/manual/Types/zipfileset.html>). > Unfortunately there is no portable way to store these permissions. Ant uses > the algorithm used by Info-Zip's <http://www.info-zip.org/> implementation > of the zip and unzip commands - these are the default versions of zip and > unzip for many Unix and Unix-like systems. [1] http://ant.apache.org/manual/index.html We probably should at least store the correct permissions for fop using <zipfileset filemode="755">, but I think this fix can wait for the next release. Most users should be savvy enough to set the permission themselves, or use the tgz version of the image. So I don't plan to take any action on 1.1 unless you insist. On Fri, Oct 19, 2012 at 10:26 AM, The Web Maestro <[email protected]>wrote: > I'm also getting a permissions error on the ZIP file: > > xmlgraphics-project-stuff$ ./fop-1.1-zip/fop -version > -bash: ./fop-1.1-zip/fop: Permission denied > xmlgraphics-project-stuff$ ./fop-1.1-tar/fop -version > FOP Version 1.1 > > I did a bit more research, and it looks like the ./fop executable in > the fop-1.1-bin.zip/fop has incorrect permissions: > > xmlgraphics-project-stuff$ ls -l fop-1.1-*/fop > -rwxr-xr-x@ 1 webclay webclay 7480 Oct 16 08:50 fop-1.1-tar/fop > -rw-r--r--@ 1 webclay webclay 7480 Oct 16 22:50 fop-1.1-zip/fop > > The fix is pretty simple, and it executes normally: > > xmlgraphics-project-stuff$ chmod 755 fop-1.1-zip/fop > xmlgraphics-project-stuff$ ./fop-1.1-zip/fop -version > FOP Version 1.1 > > Aside from this little glitch, it's got my +1... > > Thanks so much for your efforts on this, Glenn! > > Kind regards, > > Clay > -- > <[email protected]> - <http://ourlil.com/> > My religion is simple. My religion is kindness. > - HH The 14th Dalai Lama of Tibet > > > On Thu, Oct 18, 2012 at 5:33 PM, Glenn Adams <[email protected]> wrote: > > that's strange, since I just did the same, and i'm seeing normal modes, > > i.e., 755 for dirs, and 644 for (most) files; i'm also using a Mac > (10.8.1) > > > > On Thu, Oct 18, 2012 at 5:28 AM, Luis Bernardo <[email protected] > >wrote: > > > >> > >> my vote: +1 > >> > >> I noticed that after a tar -xvf *gz of the archives all files are > >> executable (I am using a Mac). This was not the case with 1.0; although > odd > >> I do not see that as a problem that requires new archives. > >> > >> > >> On 10/16/12 5:30 PM, Glenn Adams wrote: > >> > >>> I have fixed/updated the lib/build inclusions in source tar balls, as > well > >>> as adding a few other missing files (e.g., checkstyle*, etc), updated > >>> release date to OCT20, assigned new tags [1][2], from which I have > build > >>> and uploaded new release artifacts at [3][4]. > >>> > >>> Accordingly, I would like to commence a vote on releasing these > artifacts > >>> * > >>> [3][4]*, ending at 0800Z 20OCT, after which time, if there are no > negative > >>> > >>> votes and no unresolved comments, I will deploy to the appropriate > >>> locations and send out respective release announcements. > >>> > >>> Regarding my signing key, it has now been signed by an ASF Member, and > is > >>> present in the KEYS file for both of these distributions, also > available > >>> from [5]. > >>> > >>> Regards, > >>> Glenn > >>> > >>> [1] http://svn.apache.org/viewvc?**view=revision&revision=1398829< > http://svn.apache.org/viewvc?view=revision&revision=1398829> > >>> [2] http://svn.apache.org/viewvc?**view=revision&revision=1398854< > http://svn.apache.org/viewvc?view=revision&revision=1398854> > >>> [3] http://people.apache.org/~**gadams/candidates/xmlgraphics-** > >>> commons-1_5/< > http://people.apache.org/~gadams/candidates/xmlgraphics-commons-1_5/> > >>> [4] http://people.apache.org/~**gadams/candidates/fop-1_1/< > http://people.apache.org/~gadams/candidates/fop-1_1/> > >>> [5] https://people.apache.org/**keys/committer/gadams.asc< > https://people.apache.org/keys/committer/gadams.asc> > >>> > >>> pub 2048R/0ED3D317 2012-04-09 Glenn Adams <[email protected]> > >>> Primary key fingerprint: D354 4AC1 BCAD DF9D 424F D025 6654 BABE > 0ED3 > >>> D317 > >>> > >>> > >> > >> > ------------------------------**------------------------------**--------- > >> To unsubscribe, e-mail: general-unsubscribe@**xmlgraphics.apache.org< > [email protected]> > >> For additional commands, e-mail: general-help@xmlgraphics.**apache.org< > [email protected]> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
