2

When ever I open eclipse to work, I get the following message

Could not write metadata for '/website_1'./var/www/.metadata/.pluginsorg.eclipse.core.resources/.projects/website_1/.markers.snap (Permission denied)

I click ok but it appears again. Actually it seems that somehow the application user of eclipse seems not to have permission on changing the project files of eclipse.

But I am not sure, because I am really new to ubuntu. Can anyone help me please? ty

6
  • 1
    Did you try running with sudo(root). Files under /var/www are protected by default but you can change the permissions define.
    – devav2
    Aug 24, 2012 at 20:12
  • well I have opend the programm and I have selected /var/www/ as default workspase. You think I should change the path to /home and above?
    – themhz
    Aug 24, 2012 at 20:21
  • 1
    I am using php, and php seems to be installed succesfully. I even added chmod 777 var/www in order to view the website and It seems to work.
    – themhz
    Aug 24, 2012 at 20:38
  • 1
    So I can add the first comment as answer to your question?
    – devav2
    Aug 24, 2012 at 20:41
  • 1
    Well I changed the default workspace to be in home/myworkspaces and now I don't get the error anymore. So probably your suggestion gave me qlue, yes
    – themhz
    Aug 24, 2012 at 21:08

1 Answer 1

1
  • Try running your application as root(sudo su).

  • Change the permissions of /var/www directory (write) .

  • Please keep all the user related files under $HOME.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .