You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (Jira)" <ji...@apache.org> on 2019/12/14 21:19:00 UTC

[jira] [Commented] (MASSEMBLY-922) allow to override UID/GID and user name and group name for files stored in TAR (and other formats that store UID/GID)

    [ https://issues.apache.org/jira/browse/MASSEMBLY-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996569#comment-16996569 ] 

Karl Heinz Marbaise commented on MASSEMBLY-922:
-----------------------------------------------

[~wilx] Would you like to make a pull request? You can run the tests via {{mvn clean verify -Prun-its}} as a first step....if those are fine we can pull the PR and try to run on ASF ....

> allow to override UID/GID and user name and group name for files stored in TAR (and other formats that store UID/GID)
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-922
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-922
>             Project: Maven Assembly Plugin
>          Issue Type: Wish
>            Reporter: Václav Haisman
>            Priority: Major
>              Labels: features, newbie, patch
>         Attachments: override-uid-gid.patch
>
>
> I have noticed that Plexus Archiver 4.2.0 in SNAPSHOT version has grown
> methods like `org.codehaus.plexus.archiver.Archiver#setOverrideUid`. It
> seems that after it is released it should be possible implement Maven
> Assembly Plugin extension that would allow to use these methods to set,
> e.g., TAR archive owner/group entries to some reasonable value even on
> Windows.
> I am attaching unfinished untested patch that I tried to explore the possibility.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)