Invalid project contents directory error

When I try to download my existing project using Eclipse, I get the error "Invalid project contents directory."

I created these files in a Windows environment and now I am trying to open these files as PHP projects in Linux.

What can I do to fix this problem?

enter image description here

+6
source share
2 answers

After using the chown command on my WWW folder, the problem disappeared. I think the problem is that eclipse cannot create new files inside these folders. (Duh!)

So:

sudo chown -R /var/www user:group 
+7
source

There is another workaround: you can run eclipse through the terminal using the sudo command.

+3
source

Source: https://habr.com/ru/post/947151/


All Articles