I am using Maven with the Assembly plugin and would like to set the user and group for the tar file.
I can set permissions for each directory, but without installing a user this is completely useless.
Any ideas?
tar is created with the permission of the user running it. If you want this to be a specific user / group, you can run maven as that user / group.
maven
Maven may not allow you to use tar as another user, but if you can do it in ant, you can use http://maven.apache.org/plugins/maven-antrun-plugin/ to do anything ant can.
http://maven.apache.org/plugins/maven-antrun-plugin/usage.html
Source: https://habr.com/ru/post/1392074/More articles:Is the UIRequiredDeviceCapabilities equivalent for the Mac App Store? - objective-cHow can I cancel addRule-Rules? - androidinstall library to home directory - linuxGoogle app conversion API API not working with BackendError - pythonTabControl SelectedItem is overwritten by NewItemPlaceholder when adding a tab - wpfGoogle App Engine incomplete conversion API documentation - google-app-engineDynamic subclass in Python - pythonGWT: generate image from html String (.png, jpeg) - javaDisable-output-escaping = "yes-no" does not work and is output twice to the Sharepoint URL - escapingRails 3 watchers and current_user - ruby ββ| fooobar.comAll Articles