[
https://jira.codehaus.org/browse/MASSEMBLY-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated MASSEMBLY-523:
--------------------------------------
Component/s: filtering
> Filtering causes a loss of original unix file permissions
> ---------------------------------------------------------
>
> Key: MASSEMBLY-523
> URL: https://jira.codehaus.org/browse/MASSEMBLY-523
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Components: filtering
> Affects Versions: 2.2
> Reporter: Xavier D.
> Priority: Minor
>
> Using the assembly plugin without filtering retains the original unix file
> permission.
> However, as soon as <filtering>true<filtering> is used, then the original
> permissions are lost.
> This is because the .archive-tmp directory is created and assembly files
> copied to it. The copy process changes the original permissions.
> Ideally, remembering the original permission state of each filtered
> file/directory, then restoring after the filter has concluded. Whether Java
> can do this on Unix unless it shells out is another matter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira