RE: Extracting Files and / or Copy files



-----Original Message-----
From: ubuntu-users-bounces@xxxxxxxxxxxxxxxx
[mailto:ubuntu-users-bounces@xxxxxxxxxxxxxxxx]On Behalf Of Andy
Sent: May 30, 2007 3:51 PM
To: jan@xxxxxxxxxxxxxxxx; Ubuntu user technical support,not
for general
discussions
Subject: Re: Extracting Files and / or Copy files


On 30/05/07, Jan Sneep <jan@xxxxxxxxxxxxxxxx> wrote:
I can extract the file I need to my desktop, but it won't
extract to the
/opt/open-xchange/lib folder because I don't have permission.

The program needs to be root
type in a terminal:
gksudo file-roller

jan@ubuntu:~/Desktop$ gksudo file-roller
(file-roller:15642): GnomeUI-WARNING **: While connecting to session
manager:
Authentication Rejected, reason : None of the authentication protocols
specified are supported and host-based authentication failed.


then it should extract anywhere

Sadly no ... but I would like to figure out how to give Extract root
permissions ... any other suggestions?



I have looked in the help to find out how to change the
permissions for that
folder, but going though the File Browser and selecting the
Properties and
then the Permissions tab, it shows "root" as the owner, so
I can't change
the permissions.

you can use 'sudo chmod' to change permissions the command line way
but it is a very bad idea to do this for places that should only be
accesable to root

Then I thought I would try and copy the file from my
desktop to the lib folder in the terminal window, but "copy" isn't a
recognised command.

No it isn't.
the command you want is probably 'cp'.

jan@ubuntu:~/Desktop$ sudo cp *.jar /opt/open-xchange/lib

This worked and should get me what I need ... many thanks


So how do I either ... login as "root"
DON'T

In Debian there is a "Root Terminal" choice from the Applications ->
Accessories, is there an equivalent that I can setup in Ubuntu?




... or give Extract sudo permissions
as above

... or what is the equivalent to the old DOS copy command???
Didn't use old DOS but I assume cp (as above).

You could also use command line tar
sudo tar -xvzf /path/to/my/file.tar.gz -C
/path/to/the/folder/to/extract/to/

x = extract
v = verbose (tells you the files it's extracting)
z = use gzip compression (or decompressoim)
f = File to extrtact should follow
C = use that directory for extracting into

Thanks, but I prefer a GUI when I can get one ... :O)

Cheers,

Jan

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: for bcm43xx-fwcutter
    ... Having obtained the file from which you wish to extract the firmware, ... run this command as root. ...
    (Fedora)
  • Re: Extracting Files and / or Copy files
    ... The program needs to be root ... then it should extract anywhere ... folder, but going though the File Browser and selecting the Properties and ... you can use 'sudo chmod' to change permissions the command line way ...
    (Ubuntu)
  • for bcm43xx-fwcutter
    ... Having obtained the file from which you wish to extract the firmware, ... run this command as root. ...
    (Fedora)
  • Re: Tongkat Ali
    ... Product name:TongkatAli1:50 Extract ... Scientific name: Eurycoma longifolia jack ... Country of origin: Indonesia ... 50 parts of root to 1 part of root extract ...
    (soc.culture.indonesia)
  • supply plant extracts and herbal ingredients
    ... Adenophora 10:1 Extract ... Alfalfa 5% total Flavonoids (HPLC), ... Althaea Rosae Root 7:1 Extract ... Asparagus Root 4%,10% Asparagosides (UV-VIS) ...
    (sci.med.vision)