Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Problem Statement:

Well I have installed Xampp 1.8.1 in my Ubuntu 13.04 64 bit system. But I couldn't paste my web files to the /opt/lampp directory where lampp is installed. As I try to paste my web files to that directory the paste option is greyed out. And while I try pasting with Ctrl + V command the 'Permission denied' error occurs. Help me out as I am a noobhead in this Linux world!

share|improve this question

marked as duplicate by Radu Rădeanu, Uri Herrera, bcbc, user68186, belacqua Jun 4 '13 at 21:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

While one answer is: "gksudo nautilus", this is not a duplicate of "how can I save a file from gedit" or "how can I avoid write permissions when editing files". I came here because I cannot copy and paste in Nautilus. It does not even have the common decency to offer a one time sudo with password so I have to go to a command line and then come back. I can see linking from the other two questions to here if the answer is, edit in a writeable directory and then use gksudo nautilus to move the files to the real destination. But their correct answers are "gksudo gedit" and "use symbolic links". – Dirk Bester Jan 29 '15 at 23:50
up vote 5 down vote accepted

Open a terminal and enter

gksudo nautilus

This will run the file manager in super user mode.

share|improve this answer
it may work but i did not get command meaning. what is nautilus?, why gksudo and why why not sudo? – 151291 Mar 21 at 6:00
Nautilus is the gnome file manager - you could use which you prefer. gksudo is the graphical version of sudo. – Manuel Mar 28 at 11:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.