PDA

View Full Version : [ubuntu] can't paste in the / folder



AmirM
January 19th, 2010, 09:48 PM
It may be funny and the answer might be very simple but...I dont know how to do that.
I cant paste thing into the / folder.I need to extract an archive into /opt for installing LAMPP.with "File roller" I get the message:


You don't have the right permissions to extract archives in the folder "file:///opt"

Xog
January 19th, 2010, 09:50 PM
type sudo -i

then try again

erfahren
January 19th, 2010, 10:04 PM
It may be funny and the answer might be very simple but...I dont know how to do that.
I cant paste thing into the / folder.I need to extract an archive into /opt for installing LAMPP.with "File roller" I get the message:


You don't have the right permissions to extract archives in the folder "file:///opt"

you need administrative privileges (or "root privileges" as it's referred to) to do anything in the root file system.

A way around that using GUI apps is to open Nautilus (the default Ubuntu file browser) with root privileges, but be VERY careful with what you do!

to do that open up the run dialog by pressing ALT+F2 and type in:


gksu nautilus

AmirM
January 20th, 2010, 09:08 AM
]I said thats simple,didnt I?
this worked.

sudo nautilus

Cheesemill
January 20th, 2010, 12:28 PM
To install LAMP you can just do:


sudo tasksel install lamp-server
Doing it this way will make sure that it is kept updated.