Re: Extracting Files and / or Copy files
- From: Andy <stude.list@xxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 20:50:35 +0100
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
then it should extract anywhere
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'.
So how do I either ... login as "root"DON'T
... or give Extract sudo permissionsas 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
Hope that helps
Andy
--
First they ignore you
then they laugh at you
then they fight you
then you win.
- Mohandas Gandhi
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- RE: Extracting Files and / or Copy files
- From: Jan Sneep
- RE: Extracting Files and / or Copy files
- References:
- Re: World of Warcrack
- From: Michael S. Peek
- Extracting Files and / or Copy files
- From: Jan Sneep
- Re: World of Warcrack
- Prev by Date: Extracting Files and / or Copy files
- Next by Date: Re: Connecting to MySQL using Open Office Base via ODBC...
- Previous by thread: Extracting Files and / or Copy files
- Next by thread: RE: Extracting Files and / or Copy files
- Index(es):
Relevant Pages
|