I am trying to set up a new project in Eclipse, but it gives me an error saying that the directory where I am trying to set up the project is read-only.
Here is the error: Parent of resource: /path/to/project/.project is marked as read-only. (Permission denied)
I do know the password for the machine to get root permissions. How can I use it to give Eclipse complete editing permissions so that this error does not happen?
Thanks, Alex
Assuming you're logging in as a non-root user
myuser
, simply run:which will make you the owner of that directory (and subdirectories).