Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4859

Re: Owner & Group extract as 101 101 instead of root system

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: Owner & Group extract as 101 101 instead of root system
Date 2012-02-17 18:28 +0100
Message-ID <9q7h12F4f0U1@mid.uni-berlin.de> (permalink)
References <c2159892-e755-41b4-9d6b-2fef6ea1ef4c@l16g2000vbl.googlegroups.com> <jhm1s0$s0j$1@dont-email.me>

Show all headers | View raw


Am 17.02.2012 18:13, schrieb Jerry Stuckle:
> On 2/17/2012 10:00 AM, gamer wrote:
>> Hi when I extract the perl on to my AIX box with the root account
>> their owner and group show up as 101 101. Any idea whey, would expect
>> root system?
>>
>> How I exctract: gunzip -dc php-5.3.10.tar.gz | tar xvf –
>>
>> Issuing ls -lt
>> drwxr-xr-x   18 101      101            2560 Feb 16 15:17 php-5.3.10
> 
> Maybe because that's what the owner/group are in the file?
> 
> Try a Linux newsgroup for more information on how gunzip works.
> 

It is tar that does it, JS.

To the OP: tar is a very old unix utility, and it records the file mode bits, owner
and group information. That's why it is largely used, file mode bits are important.
When I extract a zip archive in linux I get wrong file modes. Use chown and chmod to
change that.

BTW: .tar.gz files can be extracted in one step: tar xzvf arhicve.tar.gz

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Owner & Group extract as 101 101 instead of root system gamer <baydart99@gmail.com> - 2012-02-17 07:00 -0800
  Re: Owner & Group extract as 101 101 instead of root system Jerry Stuckle <jstucklex@attglobal.net> - 2012-02-17 12:13 -0500
    Re: Owner & Group extract as 101 101 instead of root system "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-02-17 18:28 +0100
      Re: Owner & Group extract as 101 101 instead of root system Robert Heller <heller@deepsoft.com> - 2012-02-17 13:13 -0600
  Re: Owner & Group extract as 101 101 instead of root system "J.O. Aho" <user@example.net> - 2012-02-17 18:23 +0100
    Re: Owner & Group extract as 101 101 instead of root system Robert Heller <heller@deepsoft.com> - 2012-02-17 12:05 -0600

csiph-web