1

I had installed apache,php just now and for checking whether php executes i had opened /var/ww and edited index.html file , but i was unable to save the file. It says i do have the proper permissions to save the file. I had logged in as administrator. I had right clicked the index.html and i was unable to edit permissions it says i am not the owner.

What to do with this?

Thanks to all!

Web-E
  • 21,418

2 Answers2

3

Did you try on your console to edit the file with sudo?

sudo gedit index.html

That should work.

Eliah Kagan
  • 117,780
0

Using the Terminal go to the specified directory and try running the following command to edit the file:

gksudo gedit index.html

The gksudo command will give you root permission so you will probably be able to edit the file.

Note that I used gedit in the command, because gedit is the default text editor in Ubuntu, but if you are using a Ubuntu variant this text editor is not installed by default. If you're using a variant use nano (command line text editor) instead of gedit, to save the changes press Ctrl + O and then Ctrl + X to exit the text editor.

Zignd
  • 10,812