Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: plexus-archiver-1.0
-
Component/s: plexus-archiver
-
Labels:None
Description
Currently the archiver does not provide a way to preserve the dir/file mode of entries being added to an archive. This is very useful in cases where a directory structure being added to an archive already has the correct file permissions and the user does not want to manually specify the structure programmatically. There is also a use case for multi-stage complex builds where multiple archives are extracted and combined to make a master archive and manually having to specify individual file permissions is tedious and error prone.
Issue Links
- is depended upon by
-
MASSEMBLY-75
Unpacked TAR dependencies do not preserve file mode nor uid/gid
-
-
MASSEMBLY-238
Assembly plugin removes file permissions
-
I've fixed the underlying plexus-io to allow retrieval of user/uid/group/gid/mode info from the filesystem, but ONLY WHEN THE OS != WINDOWS. Now I'm trying to trickle this functionality up to plexus-archiver, which has a notion of default file/dir modes that will inevitably get in the way...