[jbosstools-issues] [JBoss JIRA] (JBDS-3755) JBDS source zip: all files have 000 permissions after unzip
Nick Boldt (JIRA)
issues at jboss.org
Fri Apr 1 10:08:00 EDT 2016
[ https://issues.jboss.org/browse/JBDS-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185367#comment-13185367 ]
Nick Boldt commented on JBDS-3755:
----------------------------------
"Note that file permissions will not be stored in the resulting zipfile." -- https://ant.apache.org/manual/Tasks/zip.html
So... this is a bug introduced during JBDS-3598 because the zip created by a maven mojo (with permissions) is updated here to add in a readme file:
{code}
<!-- JBDS-3598 add CSP src zip readme into src zip too -->
<copy todir="${project.build.directory}" overwrite="true">
<fileset file="${project.basedir}/../results/customer-portal/src.manual-instructions.txt" />
<mapper type="merge" to="README.how-to-build-from-sources-zip.txt" />
<filterchain>
<expandproperties />
</filterchain>
</copy>
<zip destfile="${project.build.directory}/jboss-devstudio-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${BUILD_ALIAS}-src.zip" whenempty="fail" update="true">
<zipfileset dir="${project.build.directory}/" includes="README.how-to-build-from-sources-zip.txt"/>
</zip>
{code}
-- https://github.com/jbdevstudio/jbdevstudio-product/commit/e43a227464f91809e12e9d0725ecdce4dc44f02d
> JBDS source zip: all files have 000 permissions after unzip
> -----------------------------------------------------------
>
> Key: JBDS-3755
> URL: https://issues.jboss.org/browse/JBDS-3755
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: build
> Affects Versions: 9.1.0.CR1
> Reporter: Martin Malina
> Assignee: Nick Boldt
>
> While verifying JBDS-3598 and trying to build from the latest source zip (jboss-devstudio-9.1.0.CR1-v20160326-0059-B443-src.zip), I hit a problem:
> When I unzipped the zip, I could not cd to the directory. It turned out that all the files had zero permissions. So I had to do "chmod -R 777 jboss-devstudio-9.1.0.CR1-src" first. Could we fix that?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list