FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Owner & Group extract as 101 101 instead of root system
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Owner & Group extract as 101 101 instead of root system [message #177043 is a reply to message #177041] Fri, 17 February 2012 18:05 Go to previous message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma:
Member
At Fri, 17 Feb 2012 18:23:07 +0100 "J.O. Aho" <user(at)example(dot)net> wrote:

>
> 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?
>
> This is OT, comp.unix.aix could have been a better place to ask this question.
>
>
>> 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
>
>
> This is for the user who owned the files on the original system had UID 101
> and GID 101, there are no such user nor group in your machine and those you
> see the UID/GID as values.

If you are using GNU Tar, there are some options that control this:

-o, --no-same-owner
do not attempt to restore ownership when extracting; -o exhibits
this behavior when extracting an archive

This will cause GNU Tar to ignore the stored ownership in the archive
and restore the files using the ownership of the process running tar
(root in your case).

Also:

--owner USER
change owner of extraced files to USER

This can be used to set the ownership of the extracted file to the
ownership you select.

(I don't know if AIX ships with GNU Tar or if it has its own version,
which may or may not have these or similar options.)


>
>

--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: website management
Next Topic: e-mail Hyperlink Code
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 10:46:25 GMT 2024

Total time taken to generate the page: 0.05543 seconds