From be475bb0cc066b4dbc75118ee29e369ca658d471 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 7 Feb 2014 00:24:39 +0000 Subject: Minor doco - markdown doesn't like angle brackets. Also give instructions for mounting one's own directory rather than the cloud root. --- doc/dav_davfs2.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/dav_davfs2.md') diff --git a/doc/dav_davfs2.md b/doc/dav_davfs2.md index 546638810..e4313e810 100644 --- a/doc/dav_davfs2.md +++ b/doc/dav_davfs2.md @@ -12,7 +12,7 @@ and select "yes" at the prompt. Now you need to add any user you want to be able to mount dav to the davfs2 group -`usermod -aG davfs2 ` +`usermod -aG davfs2 {{DesktopUser}}` Edit /etc/fstab @@ -20,9 +20,9 @@ Edit /etc/fstab to include your cloud directory by adding -`example.com/cloud/ /mount/point davfs user,noauto,uid=,file_mode=600,dir_mode=700 0 1` +`example.com/cloud/{{Username}} /mount/point davfs user,noauto,uid={{DesktopUser}},file_mode=600,dir_mode=700 0 1` -Where example.com is the URL of your hub, /mount/point is the location you want to mount the cloud, and is the user you log in to one your computer. Note that if you are mounting as a normal user (not root) the mount point must be in your home directory. +Where {{Username}} is your username at your Red hub, example.com is the URL of your hub, /mount/point is the location you want to mount the cloud, and {{DesktopUser}} is the user you log in to one your computer. Note that if you are mounting as a normal user (not root) the mount point must be in your home directory. For example, if I wanted to mount my cloud to a directory called 'cloud' in my home directory, and my username was bob, my fstab would be @@ -42,10 +42,10 @@ Create a file called 'secrets' and add your cloud login credentials -`example.com/cloud ` +`example.com/cloud {{username}} {{password}}` -Where and are the username and password for your hub. +Where {{username}} and {{password}} are the username and password for your hub. Don't let this file be writeable by anyone who doesn't need it with @@ -53,6 +53,6 @@ Don't let this file be writeable by anyone who doesn't need it with Finally, mount the drive. -`mount example.com/cloud` +`mount example.com/cloud/{{username}}` You can now find your cloud at /home/bob/cloud and use it as though it were part of your local filesystem - even if the applications you are using have no dav support themselves. -- cgit v1.2.3