This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "WebDAV"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Davfs2)
(Davfs2)
Line 7: Line 7:
 
<pre>
 
<pre>
 
mkdir /media/groupoffice/
 
mkdir /media/groupoffice/
chown youruser:yourgroup /media/groupoffice
 
 
</pre>
 
</pre>
 +
 +
Add to /etc/davfs2/davfs2.conf (See https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/459998):
 +
 +
<pre>
 +
ignore_home kernoops
 +
</pre>
 +
 +
Add your user to the davfs2 group in /etc/group. Find the line with davfs2 and append your user name like this:
 +
<pre>
 +
davfs2:x:130:username
 +
</pre>
 +
  
 
Add this line to /etc/fstab:
 
Add this line to /etc/fstab:

Revision as of 17:22, 24 October 2010

Davfs2

Make sure "davfs2" is installed.

Create a mount point as root:

mkdir /media/groupoffice/

Add to /etc/davfs2/davfs2.conf (See https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/459998):

ignore_home kernoops

Add your user to the davfs2 group in /etc/group. Find the line with davfs2 and append your user name like this:

davfs2:x:130:username


Add this line to /etc/fstab:

https://your.url.to.groupoffice/modules/dav/files.php/ /media/groupoffice davfs user,noauto,rw 0 0

Then, add the following line to /etc/davfs2/secrets:

https://your.url.to.groupoffice/modules/dav/files.php/    username    mypassword

Now run:

chmod u+s /sbin/mount.davfs

Now you can mount the drive with the file manager or on the terminal as the normal user:

mount /media/groupoffice/

And you should be able to browse your Group-Office files.