[
http://jira.codehaus.org/browse/MRELEASE-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236313#action_236313
]
Gordon McNair commented on MRELEASE-599:
----------------------------------------
As I've thought about this more I agree that the likely place the "problem" is
in is the assembly area. The only strange thing was that it wasn't seen until
running as part of doing a release and that building a snapshot doesn't see it.
If you think it's more appropriate this issue could be closed and I'll document
it over in the assembly plugin.
> Generated tarball has damaged permissions
> -----------------------------------------
>
> Key: MRELEASE-599
> URL: http://jira.codehaus.org/browse/MRELEASE-599
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-8
> Environment: Centos 5.5; Java 1.6; Hudson 1.366; Maven 2.1.0; Archiva
> 1.2.1
> Reporter: Gordon McNair
>
> We have a POM that builds an assembly which contains war file and
> configuration file (script). When we deploy a SNAPSHOT build the tarball
> retains permissions as expected. When we do a release build using the release
> plugin (2.0-beta-8 the one pulled in by Maven 2.1.0) it produces the same
> tarball but the permissions of the entities in the tarball are "corrupted".
> The current SNAPSHOT case tarball has content as follows:
> -rw-rw-r-- hudson/hudson 1607 2010-09-14 15:38:06 opt/D/s/scripts/cTool.sh
> -rw-rw-r-- hudson/hudson 14872500 2010-09-14 15:38:01
> opt/D/s/apache-tomcat/webapps/s.war
> The last release case tarball has content as follows:
> -rw-r--r-- 0/0 1607 2010-08-04 17:25:23 opt/D/s/scripts/cTool.sh
> -rwsrwsrwt 0/0 14846594 2010-08-04 17:24:19
> opt/D/s/apache-tomcat/webapps/s.war
> I intend to try force setting the permissions in the tarball to try and work
> around this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira