title: Permission denied while creating a symbolic link
body: <p>I am installing mysql using homebrew for Mac OS X. Once the installation completes these options are given in the terminal:</p>
  
  <pre>
  To connect:
      mysql -uroot
  
  To have launchd start mysql at login:
      ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
  Then to load mysql now:
      launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
  Or, if you don't want/need launchctl, you can just run:
      mysql.server start
  </pre>
  
  <p>So what I would like to do is have mysql started at login but when I enter the command I get permission denied like so:</p>
  
  <pre><code>$ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
  
  ln: /Users/xxxxxxxxxxxxxx/Library/LaunchAgents/homebrew.mxcl.mysql.plist: Permission denied
  </code></pre>
  
  <p>Any suggestions as to why this may be occuring?</p>