I installed Ubuntu 12.04 today and I would like to use XAMPP on this OS.

I downloaded the installation file, extracted that in Opt directory and tried to start it from the terminal. It started fine from the terminal. To edit my files, I downloaded Geany. Now when I try to save file through this text editor in the htdocs folder of XAMPP, it says "Permission Denied". It was also not allowing me to make a subfolder in htdocs but I made that through Terminal. I want to know how to save the file?

Please give me some additional commands too (like deleting files, renaming files..). Would I need to type in commands in Terminal for everything I need to do in this Root directory?

  • did you have "root" access in the terminal (sudo su)? permissions... – Logman Oct 13 '12 at 20:52
  • @Logman Yeah I have the root access – Vijay Oct 14 '12 at 12:07
  • 1
    you installed Xampp with root, but you are trying to edit those files when you are not. Usually you do not edit the htm file directly but thru http/ftp... change the user access rights to files or run Geany with root access (dangerous).... – Logman Oct 14 '12 at 14:20

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.