4,199
edits
Changes
From IGEP - ISEE Wiki
no edit summary
=== Configuring WebDAV for Owncloud ===
Owncloud development team are creating a native client to manage files more easylieasyly, but is not release yet. But Although we can set up a WebDAV protocol to solve it. I tested with a Ubuntu 10.04 laptop, but can be aesyli use in other paltforms, see this [http://owncloud.org/use/webdav/ page] for more information.<br>
Install the WebDAV support:
<pre>sudo apt-get install davfs2
</pre>
Reconfigure davfs2 to allow access to normal users:
<pre><<code>>sudo dpkg-reconfigure davfs2<</code>></pre>Select ''Yes'' when prompted
Add the users you want to be able to mount the share to the <code>davfs2</code> davfs2 group:<pre>sudo usermod -aG davfs2 <<userclient>></pre>Edit /etc/fstab, and add the following line for each user who wants to mount the folder (with your details where appropriate)<pre>http://<<IPPRIVATE>>/owncloud-owncloud/files/webdav.php /home/<<username>>/owncloud davfs user,rw,noauto 0 0</pre>Create the folders owncloud & amp; .davfs2 in your home directoryCreate the file named secrets inside .davfs2 folder, fill it with the following (with your credentials where appropriate) <pre>http://<<IPPRIVATE>>/owncloud-owncloud/files/webdav.php <<yourowncloudusername> <> <yourowncloudpassword>></pre>Ensure the file is only writable by you either through the file manager:<pre>chmod 600 ~/.davfs2/secrets</pre>Mount your Virtual Owncloud Hardrive with the command: mount ~/owncloudYou can automatically mount the folder on login, add the last command to ~/.bashrc