[ https://issues.apache.org/jira/browse/HADOOP-8847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463958#comment-13463958 ]
Robert Joseph Evans commented on HADOOP-8847: --------------------------------------------- Steve, what do you mean by losing file permissions? does that mean that all files will be created with the default umask permissions? That could cause major problems for people who ship executables inside a tgz. I thought at one point we were post processing the contents of a .zip to give everything execute permissions. If we are doing that the tgzs as well as the zips it may not be that big of a deal, but I would still be nervous about a change like that. > Change untar to use Java API instead of spawning tar process > ------------------------------------------------------------ > > Key: HADOOP-8847 > URL: https://issues.apache.org/jira/browse/HADOOP-8847 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Bikas Saha > Assignee: Bikas Saha > Attachments: HADOOP-8847.branch-1-win.1.patch, test-untar.tar, > test-untar.tgz > > > Currently FileUtil.unTar() spawns tar utility to do the work. Tar may not be > present on all platforms by default eg. Windows. So changing this to use JAVA > API's would help make it more cross-platform. FileUtil.unZip() uses the same > approach. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira