You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/04/19 21:32:34 UTC

[jira] Closed: (HADOOP-149) TaskTracker#unJar trashes file modes

     [ http://issues.apache.org/jira/browse/HADOOP-149?page=all ]
     
Doug Cutting closed HADOOP-149:
-------------------------------

    Resolution: Won't Fix

> TaskTracker#unJar trashes file modes
> ------------------------------------
>
>          Key: HADOOP-149
>          URL: http://issues.apache.org/jira/browse/HADOOP-149
>      Project: Hadoop
>         Type: Bug

>     Versions: 0.2
>  Environment: linux
>     Reporter: stack@archive.org
>     Priority: Minor

>
> Last Changed Rev: 395069
> The unJar'ing of the job 'jar', trashes any file modes I've lovingly set at zip time.  This is a bit of a pain when my job wants to run external scripts and I want to bundle the scripts up in the jar itself for distribution out to slaves.
> I ain't sure how to address the issue though. Nought about unix file modes in JarEntry nor ZipEntry.  I tried the ant 1.6.5 task unjar and unzip tasks thinking they'd respect file modes but they do same as TaskTracker#unJar (Commons zip makes mention of unix file modes but I haven't tried it).  Perhaps support for jobs as tar(.gz) bundles?  (But again, couldn't use ant to untar. It does same as unzip/unjar trashing file permissions).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira