I'm trying XCode4. I created a new project, told XCode to put in my ~/develop/ directory, but then I immediately get asked:

“Test project” is locked for editing and you may not be able to save your changes. Do you want to unlock it?

“Test project” is currently locked because you do not own the parent folder and have no write permissions for it.

[Don't Unlock] [Unlock]

...which isn't true: my ~/develop/ folder is owned by me (staff group) and has drwxr-xr-x permissions. I write to it every day. XCode is running as my account.

Is XCode right? What can I do to fix this? If I press “Don't Unlock” it seems to work fine.

  • Have you tried pressing "Unlock"? What does it do? Also: is the file/folder locked in the Finder? Can you unlock it there?
    – Cajunluke
    Jul 16, 2011 at 19:01
  • What does ls -led ~/develop/ - show - the extra information is the ACL for the directory
    – mmmmmm
    Jul 5, 2012 at 23:15

3 Answers 3


If you navigate to that folder from Finder, you can click Get Info and manage the permissions from the bottom of the window. You can navigate there by using the Go To Folder menu item in Finder or directly navigating their.


Launch Finder and right click on your folder and go to Get Info. After this process you can change the permission.

If you like Terminal for this job, this topic on StackOverflow will help you.

  • How does this differ from the previous answer
    – mmmmmm
    Oct 3, 2015 at 14:33

After changing my home directory name Xcode gave the same warning on a project I was working on. The work around I used was to create a duplicate of the project.

  • 1
    Hello, and welcome to Ask Different! This site tries to be the definitive Q&A reference to all things Apple. For this to work, it is important to stick to the exact question when answering. In this case, while your workaround is a good hint, you fail to address any aspect of the question related to the cause of the behaviour, which makes the value of your solution questionable. If you can’t provide any insight into that, your suggestion would be more adequate as a comment to the original question than as an answer. Thanks for pitching in, and enjoy the site!
    – kopischke
    Nov 4, 2012 at 21:45

You must log in to answer this question.

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