ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19120] New: - Tar/TarFileSet/TarEntry uid and gid
Date Thu, 17 Apr 2003 17:36:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19120>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19120

Tar/TarFileSet/TarEntry uid and gid

           Summary: Tar/TarFileSet/TarEntry uid and gid
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: dsherwoo@nyab.com


Setting the username and group in a TarFileSet stores the user and group 
strings in the tar file, but the uid:gid numbers default to 0:0 (root:root). 
When I untar with tar or pax [under QNX 4], the username and group are ignored 
and the uid and gid are used instead. This does not produce the desired results 
since everything is owned by root:root.

I would like to be able to set the uid and gid in a TarFileSet and have them 
set in the corresponding TarEntry in the Tar object.

<!-- Usage Example: -->
<tar tarfile="thisandthat.tar">
  <tarFileSet dir="." mode="775" uid="100" gid="200">
    <include name="this"/>
    <include name="that"/>
  </tarFileSet>
</tar>

Mime
View raw message