Don’t have any authorization to save it

Asked By 10 points N/A Posted on -


I get a problem. Today I installed xampp effectively on my system (Ubuntu) and each and every files of xampp (htdocs) are amassed in /opt folder on my system. But the trouble is when I try to write a PHP program in bluefish editor as well as I try to store it in htdocs, it says that I don’t have any authorization to save it.

In below, I attached the picture.

I am using xampp 1.7.4, ubuntu ver-11.04(natty) and editor-bluefish editor.

I need to solve it and please help me.

Thanks a lot.

Could not save file index2.php

Error opening file'/opt/lampp/htdocs/
index2.php':Permission denied 
Answered By 0 points N/A #151243

Don’t have any authorization to save it


Hallo Frank,

You will need to have administrative credentials to be able to successfully save those files, and therefore I will suggest that you try the following workaround:

  • Log off and then shut down your computer.
  • After that restart it and then ensure that the account you log on with has got administrative credentials.
  • You can now reopen the html files that you were working on and then try saving them again.

If the error persists, you can try opening the file that you are working on in another editor like the notepad and then try saving the files from there.

Hope this helps.




Login/Register to Answer

Related Questions