title: Eclipse maven Parent of resource marked as read only
body: <p>I get the following error when I try to add/refactor a class:</p>
  
  <blockquote>
    <p>Parent of resource:
    /Users/Mike/git/switch-ingredients/maven/src/main/java/org/apache/maven/maven/Client.java
    is marked as read only.</p>
  </blockquote>
  
  <p>I have tried to give permissions to the files(<strong>chmod 777</strong>), I tried to restart eclipse and change the build path, but no success.</p>
  
  <p>What should I do?
  Thanks!</p>