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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

Reply via email to