How to use WD My Book Live share as Raspberry PI owncloud server data directory? : <p>I have installed owncloud based on MySQL on a raspberry pi. On my My Book Live NAS I created a new share called owncloud. On my PI I added the following line to /etc/fstab</p>

<pre><code>//nas001.local/Owncloud /mnt/shares/nas001/owncloud cifs    username=&lt;user&gt;,password=&lt;pwd&gt;  0   0
</code></pre>

<p>The share is accessible on /mnt/shares/nas001/owncloud</p>

<p>When I try to finish the owncloud setup I am getting the error message:</p>

<pre><code>Can't create or write into the data directory /mnt/shares/nas001/owncloud
</code></pre>

<p>When I enter the following command I am getting no error message and the content of the directory will be displayed.</p>

<pre><code>sudo -u www-data ls -lisa /mnt/shares/nas001/owncloud
</code></pre>

<p>The owncloud share looks like this</p>

<pre><code>drwxr-xr-x 2 root root 0 Feb 14 07:34 owncloud
</code></pre>

<p>Tried the following</p>

<pre><code>chown -R www-data:www-data /mnt/shares/nas001/owncloud
chmod -R 0777 /mnt/shares/nas001/owncloud
</code></pre>

<p>Nothing changed.</p>

<p>Is there a way to use a My Book Live share as data directory for a Rasperry PI owncloud server?</p>
