Unknown user seen when listing tar file

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I have here a POSIX tar archive call Debian9.ova.



Interestingly enough, listing it with tar in MacOS High Sierra, shows:



$ tar -tvf Debian9.ova 
-rw-r--r-- 0 someone someone 5344 26 Feb 13:57 Debian9.ovf
-rw-r--r-- 0 someone someone 179 26 Feb 13:57 Debian9.mf
-rw-r--r-- 0 someone someone 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


Now the interesting point is, that I do not have a someone user and group.



$ id someone
id: someone: no such user


Listing it with --numeric-owner, it shows as uid 64, and gid 64, which clearly are not present in my system.



$ tar -tvf Debian9.ova --numeric-owner
-rw-r--r-- 0 64 64 5344 26 Feb 13:57 Debian9.ovf
-rw-r--r-- 0 64 64 179 26 Feb 13:57 Debian9.mf
-rw-r--r-- 0 64 64 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


Listing the users in the system does not find a somebody user:



dscl . list /Users | grep someone


Where is then someone coming from? Is it a tar "feature" when it finds an unknown uid and gid?



PS. In debian just for comparison:



$ tar -tvf a.tar
-rw-r--r-- 64/64 3212 2018-02-27 02:01 dead.letter
$ bsdtar -tvf a.tar
-rw-r--r-- 0 64 64 3212 Feb 27 02:01 dead.letter






share|improve this question


























    up vote
    1
    down vote

    favorite












    I have here a POSIX tar archive call Debian9.ova.



    Interestingly enough, listing it with tar in MacOS High Sierra, shows:



    $ tar -tvf Debian9.ova 
    -rw-r--r-- 0 someone someone 5344 26 Feb 13:57 Debian9.ovf
    -rw-r--r-- 0 someone someone 179 26 Feb 13:57 Debian9.mf
    -rw-r--r-- 0 someone someone 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


    Now the interesting point is, that I do not have a someone user and group.



    $ id someone
    id: someone: no such user


    Listing it with --numeric-owner, it shows as uid 64, and gid 64, which clearly are not present in my system.



    $ tar -tvf Debian9.ova --numeric-owner
    -rw-r--r-- 0 64 64 5344 26 Feb 13:57 Debian9.ovf
    -rw-r--r-- 0 64 64 179 26 Feb 13:57 Debian9.mf
    -rw-r--r-- 0 64 64 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


    Listing the users in the system does not find a somebody user:



    dscl . list /Users | grep someone


    Where is then someone coming from? Is it a tar "feature" when it finds an unknown uid and gid?



    PS. In debian just for comparison:



    $ tar -tvf a.tar
    -rw-r--r-- 64/64 3212 2018-02-27 02:01 dead.letter
    $ bsdtar -tvf a.tar
    -rw-r--r-- 0 64 64 3212 Feb 27 02:01 dead.letter






    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have here a POSIX tar archive call Debian9.ova.



      Interestingly enough, listing it with tar in MacOS High Sierra, shows:



      $ tar -tvf Debian9.ova 
      -rw-r--r-- 0 someone someone 5344 26 Feb 13:57 Debian9.ovf
      -rw-r--r-- 0 someone someone 179 26 Feb 13:57 Debian9.mf
      -rw-r--r-- 0 someone someone 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


      Now the interesting point is, that I do not have a someone user and group.



      $ id someone
      id: someone: no such user


      Listing it with --numeric-owner, it shows as uid 64, and gid 64, which clearly are not present in my system.



      $ tar -tvf Debian9.ova --numeric-owner
      -rw-r--r-- 0 64 64 5344 26 Feb 13:57 Debian9.ovf
      -rw-r--r-- 0 64 64 179 26 Feb 13:57 Debian9.mf
      -rw-r--r-- 0 64 64 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


      Listing the users in the system does not find a somebody user:



      dscl . list /Users | grep someone


      Where is then someone coming from? Is it a tar "feature" when it finds an unknown uid and gid?



      PS. In debian just for comparison:



      $ tar -tvf a.tar
      -rw-r--r-- 64/64 3212 2018-02-27 02:01 dead.letter
      $ bsdtar -tvf a.tar
      -rw-r--r-- 0 64 64 3212 Feb 27 02:01 dead.letter






      share|improve this question














      I have here a POSIX tar archive call Debian9.ova.



      Interestingly enough, listing it with tar in MacOS High Sierra, shows:



      $ tar -tvf Debian9.ova 
      -rw-r--r-- 0 someone someone 5344 26 Feb 13:57 Debian9.ovf
      -rw-r--r-- 0 someone someone 179 26 Feb 13:57 Debian9.mf
      -rw-r--r-- 0 someone someone 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


      Now the interesting point is, that I do not have a someone user and group.



      $ id someone
      id: someone: no such user


      Listing it with --numeric-owner, it shows as uid 64, and gid 64, which clearly are not present in my system.



      $ tar -tvf Debian9.ova --numeric-owner
      -rw-r--r-- 0 64 64 5344 26 Feb 13:57 Debian9.ovf
      -rw-r--r-- 0 64 64 179 26 Feb 13:57 Debian9.mf
      -rw-r--r-- 0 64 64 2113245184 26 Feb 13:59 Debian9-disk1.vmdk


      Listing the users in the system does not find a somebody user:



      dscl . list /Users | grep someone


      Where is then someone coming from? Is it a tar "feature" when it finds an unknown uid and gid?



      PS. In debian just for comparison:



      $ tar -tvf a.tar
      -rw-r--r-- 64/64 3212 2018-02-27 02:01 dead.letter
      $ bsdtar -tvf a.tar
      -rw-r--r-- 0 64 64 3212 Feb 27 02:01 dead.letter








      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 27 at 2:14

























      asked Feb 27 at 1:46









      Rui F Ribeiro

      34.9k1269113




      34.9k1269113




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted











          I have here a POSIX tar archive […]




          In a standard format tar archive, the header information for each file contains fields for both a symbolic user and group name and a numeric user and group ID.



          As you have seen, tar can list either one set of fields or the other.



          With a conformant pax utility one should be able to list these fields altogether:


          $ pax -o listopt="%(uid)s %(gid)s %(uname)s %(gname)s %Ln" < Debian9.ova


          However, I believe that no standard-conformant pax utility currently exists.



          Further reading



          • "ustar header block". pax. Single Unix Specification. IEEE 1003.1-2008:2016.

          • Tim Kientzle (2016-12-27). tar. § 5. FreeBSD File Formats Manual.





          share|improve this answer




















          • A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
            – schily
            May 31 at 10:05










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426826%2funknown-user-seen-when-listing-tar-file%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted











          I have here a POSIX tar archive […]




          In a standard format tar archive, the header information for each file contains fields for both a symbolic user and group name and a numeric user and group ID.



          As you have seen, tar can list either one set of fields or the other.



          With a conformant pax utility one should be able to list these fields altogether:


          $ pax -o listopt="%(uid)s %(gid)s %(uname)s %(gname)s %Ln" < Debian9.ova


          However, I believe that no standard-conformant pax utility currently exists.



          Further reading



          • "ustar header block". pax. Single Unix Specification. IEEE 1003.1-2008:2016.

          • Tim Kientzle (2016-12-27). tar. § 5. FreeBSD File Formats Manual.





          share|improve this answer




















          • A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
            – schily
            May 31 at 10:05














          up vote
          1
          down vote



          accepted











          I have here a POSIX tar archive […]




          In a standard format tar archive, the header information for each file contains fields for both a symbolic user and group name and a numeric user and group ID.



          As you have seen, tar can list either one set of fields or the other.



          With a conformant pax utility one should be able to list these fields altogether:


          $ pax -o listopt="%(uid)s %(gid)s %(uname)s %(gname)s %Ln" < Debian9.ova


          However, I believe that no standard-conformant pax utility currently exists.



          Further reading



          • "ustar header block". pax. Single Unix Specification. IEEE 1003.1-2008:2016.

          • Tim Kientzle (2016-12-27). tar. § 5. FreeBSD File Formats Manual.





          share|improve this answer




















          • A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
            – schily
            May 31 at 10:05












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted







          I have here a POSIX tar archive […]




          In a standard format tar archive, the header information for each file contains fields for both a symbolic user and group name and a numeric user and group ID.



          As you have seen, tar can list either one set of fields or the other.



          With a conformant pax utility one should be able to list these fields altogether:


          $ pax -o listopt="%(uid)s %(gid)s %(uname)s %(gname)s %Ln" < Debian9.ova


          However, I believe that no standard-conformant pax utility currently exists.



          Further reading



          • "ustar header block". pax. Single Unix Specification. IEEE 1003.1-2008:2016.

          • Tim Kientzle (2016-12-27). tar. § 5. FreeBSD File Formats Manual.





          share|improve this answer













          I have here a POSIX tar archive […]




          In a standard format tar archive, the header information for each file contains fields for both a symbolic user and group name and a numeric user and group ID.



          As you have seen, tar can list either one set of fields or the other.



          With a conformant pax utility one should be able to list these fields altogether:


          $ pax -o listopt="%(uid)s %(gid)s %(uname)s %(gname)s %Ln" < Debian9.ova


          However, I believe that no standard-conformant pax utility currently exists.



          Further reading



          • "ustar header block". pax. Single Unix Specification. IEEE 1003.1-2008:2016.

          • Tim Kientzle (2016-12-27). tar. § 5. FreeBSD File Formats Manual.






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 27 at 8:11









          JdeBP

          28.3k459133




          28.3k459133











          • A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
            – schily
            May 31 at 10:05
















          • A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
            – schily
            May 31 at 10:05















          A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
          – schily
          May 31 at 10:05




          A conforming pax implementation dumps core with your proposed command line. Use listopt="%(uid)d %(gid)d %(uname)s %(gname)s %Ln" on Solaris, AIX, HP-UX and it will work.
          – schily
          May 31 at 10:05












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426826%2funknown-user-seen-when-listing-tar-file%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay