Filtering causes a loss of original unix file permissions
---------------------------------------------------------
Key: MASSEMBLY-523
URL: http://jira.codehaus.org/browse/MASSEMBLY-523
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira