[ 
https://jira.codehaus.org/browse/MASSEMBLY-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed MASSEMBLY-523.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
         Assignee: Kristian Rosenvold

Fixed in r1633510

> Filtering causes a loss of original unix file permissions
> ---------------------------------------------------------
>
>                 Key: MASSEMBLY-523
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-523
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 2.2
>            Reporter: Xavier D.
>            Assignee: Kristian Rosenvold
>            Priority: Minor
>             Fix For: 2.5
>
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to