This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modifying a .tar file

Kamron Malik
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a .tar.gz file say it's called test.tar.gz
Currently I have a java program unpack this file to a folder
Unfortunately this erases all UNIX permissions and I am on a windows machine

Is there a way to put back or preserve unix permissions when it is unpacked and repacked into a tar.gz


Is there a way to modify a .tar with the apache commons compress library?

I am at a little of a loss here on how to keep the correct permissions
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic