title: Symbolic link to directory vs. "mount --bind" and rights
body: <p>I have a webserver where I run two duplicite versions like this</p>
  
  <pre><code> /home/domains/domainone.com/webroot
   /home/domains/domaintwo.com/webroot
  </code></pre>
  
  <p>Now, I want to share a directory and to be able to write to both of them.</p>
  
  <pre><code> /home/images/
   -&gt; /home/domains/domainone.com/webroot/images/
   -&gt; /home/domains/domaintwo.com/webroot/images/
  </code></pre>
  
  <p>I can manage to do that with "mount --bind", but I always have to make sure, that the directory is mounted. When I use ln -s, I am not able to write to those directories from my PHP script in Apache, even though I set the rights to 777. As I say, with mount --bind, it works correctly, but I would prefer to use symbolic links.</p>
  
  <p>Thanks</p>