title: Wordpress: Permission denied when uploading to a symbolic link
body: <p>After moving my uploads folder to another location, I made a symbolic link to uploads folder inside the wp-content, </p>
  
  <pre><code>$&gt; ln -s /mnt/uploads /var/www/html/wp-content/uploads
  </code></pre>
  
  <p>but now it is giving me the following error:</p>
  
  <blockquote>
    <p>PHP Warning:  file_put_contents(/var/www/html/wp-content/uploads/2013/05/13964be50da3eba1fa0343091276c127) [&lt; a href='function.file-put-contents'>function.file-put-contents&lt; /a>]: failed to open stream: Permission denied in /var/www/html/wp-content/plugins/complains/bootstrap.php on line 555, referer: <a href="http://mysite.com/" rel="nofollow">http://mysite.com/</a></p>
  </blockquote>