<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:sussex-request@mailman.lug.org.uk">sussex-request@mailman.lug.org.uk</a> wrote:
<blockquote cite="mid:E1IarKm-0003Ex-00@xinit.lug.org.uk" type="cite">
  <pre wrap="">Send Sussex mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:sussex@mailman.lug.org.uk">sussex@mailman.lug.org.uk</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="https://mailman.lug.org.uk/mailman/listinfo/sussex">https://mailman.lug.org.uk/mailman/listinfo/sussex</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:sussex-request@mailman.lug.org.uk">sussex-request@mailman.lug.org.uk</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:sussex-owner@mailman.lug.org.uk">sussex-owner@mailman.lug.org.uk</a>

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 <a class="moz-txt-link-rfc2396E" href="mailto:steve@dobson.org">&lt;steve@dobson.org&gt;</a>
Subject: Re: [Sussex] Extracting a .tgz file into usr/share
To: LUG email list for the Sussex Counties <a class="moz-txt-link-rfc2396E" href="mailto:sussex@mailman.lug.org.uk">&lt;sussex@mailman.lug.org.uk&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:20070927032436.GA14759@bugs.localdomain">&lt;20070927032436.GA14759@bugs.localdomain&gt;</a>
Content-Type: text/plain; charset="us-ascii"

Fay / Andy

On Wed, Sep 26, 2007 at 07:54:41PM -0400, Fay Zee wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi all. I'm forwarding this question from new EGLUG member Andy, whom
I'm bringing along this evening.

    </pre>
    <blockquote type="cite">
      <pre wrap="">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.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
Yes you do.  You just don't have access to all the file system as a normal
user, and you shouldn't have.

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Result being that I can't extract a .tgz file into usr/share which is
where I think it needs to live.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

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.

  </pre>
  <blockquote type="cite">
    <pre wrap="">                                   Neither is it downloading directly into
    </pre>
    <blockquote type="cite">
      <pre wrap="">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.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
This isn't the way to do it.  You could do damage that way.

  </pre>
  <blockquote type="cite">
    <pre wrap="">                                               Basically I'd like to open
    </pre>
    <blockquote type="cite">
      <pre wrap="">up the whole system so I can do anything without needing any
permissions?
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
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 : <a class="moz-txt-link-freetext" href="http://mailman.lug.org.uk/pipermail/sussex/attachments/20070927/f6fe5d1f/attachment-0001.bin">http://mailman.lug.org.uk/pipermail/sussex/attachments/20070927/f6fe5d1f/attachment-0001.bin</a>

------------------------------

  </pre>
</blockquote>
Quote: (Steve)<br>
<br>
<pre wrap="">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* !?!
</pre>
<br>
</body>
</html>