Since you are using ubuntu (which is debian), it is good to remember to precede any action that requires root privileges by sudo
To delete the file, simply invoke sudo rm <path_to_file_to_rm>
You can as well change the server persmission to be writable by you by doing sudo chown -R <your_name> <path_to_lamp_server_folder>
In a real server, changing server permission to a regular user other than root is not advisable!
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.