title: Git: Permission Denied when Opening Text Editor
body: <p>I am trying to set the text editor that will open when Git needs me to type something (e.g., message for a commit).</p>
  
  <p>I am on Mac OSX 10.9.5 and using bash.  I have configured the default editor to TextEdit - my .gitconfig file looks like this:</p>
  
  <pre><code>[user]
      name = My Name
      email = MyEmail@host.com
  [core]
      autocrlf = input
      safecrlf = true
      editor = /Applications/TextEdit.app
  </code></pre>
  
  <p>However, Git will not allow me to open TextEdit:</p>
  
  <pre><code>MyMac:aDir user$ git commit
  fatal: cannot exec '/Applications/TextEdit.app': Permission denied
  error: unable to start editor '/Applications/TextEdit.app'
  Please supply the message using either -m or -F option.
  </code></pre>
  
  <p>I also tried to move TextEdit into my user directory, but I can only move an alias (I think it's just a pointer to the original TextEdit location).  So, I get the same result.  But, it's just a problem with Git, because this works:</p>
  
  <pre><code>MyMac:aDir user$ open ~/Applications/TextEdit
  </code></pre>
  
  <p>How can I get Git to let the user (the ONLY user on this computer) open TextEdit?</p>