Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-523

Filtering causes a loss of original unix file permissions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.5
    • filtering
    • None

    Description

      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.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            funkular Xavier D.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: