[Sussex] Extracting a .tgz file into usr/share

paul reality at dsl.pipex.com
Thu Sep 27 12:15:21 UTC 2007


sussex-request at mailman.lug.org.uk wrote:
> Send Sussex mailing list submissions to
> 	sussex at mailman.lug.org.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.lug.org.uk/mailman/listinfo/sussex
> or, via email, send a message with subject or body 'help' to
> 	sussex-request at mailman.lug.org.uk
>
> You can reach the person managing the list at
> 	sussex-owner at mailman.lug.org.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Sussex digest..."
>
>
> Today's Topics:
>
>    1. Re: Extracting a .tgz file into usr/share (Steve 'Dobbo' Dobson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 27 Sep 2007 04:24:36 +0100
> From: Steve 'Dobbo' Dobson <steve at dobson.org>
> Subject: Re: [Sussex] Extracting a .tgz file into usr/share
> To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>
> Message-ID: <20070927032436.GA14759 at bugs.localdomain>
> Content-Type: text/plain; charset="us-ascii"
>
> Fay / Andy
>
> On Wed, Sep 26, 2007 at 07:54:41PM -0400, Fay Zee wrote:
>   
>> Hi all. I'm forwarding this question from new EGLUG member Andy, whom
>> I'm bringing along this evening.
>>
>>     
>>> I'm having a problem with Ubuntu, I think it's trivial but can't find
>>> the way round it. If you've got the time... or I could mention it at the
>>> next meeting.
>>>
>>> Basically I don't seem to have permissions for my own file system.
>>>       
>
> Yes you do.  You just don't have access to all the file system as a normal
> user, and you shouldn't have.
>
>   
>>> Result being that I can't extract a .tgz file into usr/share which is
>>> where I think it needs to live.
>>>       
>
>
> It is common with windows that user accounts (esp on home systems) are
> granted Admin privileges and thus have full access to the file system.
> This is not the case with Linux.  Security is don't properly so even if
> a normal user account is cracked the cracker doesn't get full access to
> the entire system.
>
> With Ubuntu in order to run a command as "root" (the admin account) you
> need to prefix the command with "sudo".  For example:
>
>     $ cd /
>     $ sudo tar xvfz /full/path/to/archive.tgz
>
> If there is a Ubuntu system there tonight I'm sure we can demonstrate if
> Andy brings the file on a USB stick.
>
>   
>>                                    Neither is it downloading directly into
>>     
>>> there (I guess for the same reason) so I've had to put it on the desktop
>>> and as I say the extract won't work. I've tried sudo chgrp
>>> file_system /root (on the basis that when I look at the file system
>>> properties root seems to own them)   but I suspect file_system is just
>>> an example and I need something else there.
>>>       
>
> This isn't the way to do it.  You could do damage that way.
>
>   
>>                                                Basically I'd like to open
>>     
>>> up the whole system so I can do anything without needing any
>>> permissions?
>>>       
>
> I will not tell you how to do this just as I won't tell you how to bypass
> the fuse in an electrical plug.  You could do serious damage to your own
> and someone else's system and I do not want to be the one that turns Linux
> into the same malware infested system that it is today.  As you are
> coming along to night I'll be happy to explain how to do things properly.
>
> Steve
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: Digital signature
> Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20070927/f6fe5d1f/attachment-0001.bin
>
> ------------------------------
>
>   
Quote: (Steve)

I do not want to be the one that turns Linux into the same malware infested system that it is today.........

/Quote

Are you *sure* !?!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20070927/d0451a75/attachment.htm 


More information about the Sussex mailing list