<blockquote>
{{Code|<pre>chown -vR apache:apache movies
chown -vR apache:apache music
chown -vR apache:apache pictures}}</pre></blockquote>
* The previous two steps now give the ownCloud application access to the Amahi media directories.
<blockquote>
{{Code|<pre>cd /var/hda/files/movies
chmod -vR 664 *
cd /var/hda/files/music
chmod -vR 664 *
cd /var/hda/files/pictures
chmod -vR 664 *}}</pre></blockquote>
* Using the "cd" command go to "/var/hda/files/". Change the permissions on the movies, music, pictures directories. Also any subdirectories below these directories must also be changed to the same permissions.
<blockquote>
{{Code|<pre>chmod -vR 775 movies
chmod -vR 775 music
chmod -vR 775 pictures}}</pre></blockquote>
* The Amahi directories have been reconfigured for ownCloud use. The following steps will now involve configuring ownCloud for the sharing of the Amahi directories.