jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Plexus Components
  • PLXCOMP-94

Archiver should have an option to preserve directory/file mode

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major 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

Bug - A problem which impairs or prevents the functions of the product. MASSEMBLY-75 Unpacked TAR dependencies do not preserve file mode nor uid/gid

  • Major - Major loss of function.
  • Reopened - This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.

Bug - A problem which impairs or prevents the functions of the product. MASSEMBLY-238 Assembly plugin removes file permissions

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
John Casey added a comment - 29/Sep/08 5:55 PM

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...

Show
John Casey added a comment - 29/Sep/08 5:55 PM 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...
Hide
Permalink
Florian Fray added a comment - 30/Sep/08 2:09 AM

Great!
Could also be useful to fix PLXCOMP-64, right ?

Show
Florian Fray added a comment - 30/Sep/08 2:09 AM Great! Could also be useful to fix PLXCOMP-64, right ?
Hide
Permalink
John Casey added a comment - 10/Dec/08 1:42 PM

When no default dir/file modes are set for an archive, and the OS != windows, modes will be detected from the filesystem.

Show
John Casey added a comment - 10/Dec/08 1:42 PM When no default dir/file modes are set for an archive, and the OS != windows, modes will be detected from the filesystem.
Hide
Permalink
Tobias Oberlies added a comment - 14/Dec/11 8:38 AM

Which versions of plexus-archiver contain this fix?

Show
Tobias Oberlies added a comment - 14/Dec/11 8:38 AM Which versions of plexus-archiver contain this fix?

People

  • Assignee:
    John Casey
    Reporter:
    Trevor Pounds
Vote (4)
Watch (4)

Dates

  • Created:
    06/Feb/08 10:59 AM
    Updated:
    14/Dec/11 9:36 AM
    Resolved:
    10/Dec/08 1:42 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.