aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-06-29 02:51:47 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-06-29 02:51:47 +0100
commitd956b70370e53aeb0587f5e5065dd044011ec070 (patch)
treee85cd0095da22cc7110fb9f7235405110acfbad6 /doc
parente228c2ed32593cdbf35992d60e7408dd2c0e33e0 (diff)
downloadvolse-hubzilla-d956b70370e53aeb0587f5e5065dd044011ec070.tar.gz
volse-hubzilla-d956b70370e53aeb0587f5e5065dd044011ec070.tar.bz2
volse-hubzilla-d956b70370e53aeb0587f5e5065dd044011ec070.zip
Doco - update dav2fs instructions. That should never have worked,
but now it actually doesn't work.
Diffstat (limited to 'doc')
-rw-r--r--doc/dav_davfs2.md58
-rw-r--r--doc/dav_mount.bb10
2 files changed, 5 insertions, 63 deletions
diff --git a/doc/dav_davfs2.md b/doc/dav_davfs2.md
deleted file mode 100644
index e4313e810..000000000
--- a/doc/dav_davfs2.md
+++ /dev/null
@@ -1,58 +0,0 @@
-**Installing The Cloud as a Filesystem on Linux**
-
-To install your cloud directory as a filesystem, you first need davfs2 installed. 99% of the time, this will be included in your distributions repositories. In Debian
-
-`apt-get install davfs2`
-
-If you want to let normal users mount the filesystem
-
-`dpkg-reconfigure davfs2`
-
-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 {{DesktopUser}}`
-
-Edit /etc/fstab
-
-`nano /etc/fstab`
-
-to include your cloud directory by adding
-
-`example.com/cloud/{{Username}} /mount/point davfs user,noauto,uid={{DesktopUser}},file_mode=600,dir_mode=700 0 1`
-
-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
-
-`example.com/cloud/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1`
-
-Now, create the mount point.
-
-`mkdir /home/bob/cloud`
-
-and also create a directory file to store your credentials
-
-`mkdir /home/bob/.davfs2`
-
-Create a file called 'secrets'
-
-`nano /home/bob/.davfs2/secrets`
-
-and add your cloud login credentials
-
-`example.com/cloud {{username}} {{password}}`
-
-
-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
-
-`chmod 600 /home/bob/.davfs2/secrets`
-
-Finally, mount the drive.
-
-`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.
diff --git a/doc/dav_mount.bb b/doc/dav_mount.bb
index 85ca614f4..62edc09d0 100644
--- a/doc/dav_mount.bb
+++ b/doc/dav_mount.bb
@@ -25,14 +25,14 @@ Edit /etc/fstab
to include your cloud directory by adding
[code]
-example.com/cloud/ /mount/point davfs user,noauto,uid=&lt;DesktopUser&gt;,file_mode=600,dir_mode=700 0 1
+[baseurl]/cloud/ /mount/point davfs user,noauto,uid=&lt;DesktopUser&gt;,file_mode=600,dir_mode=700 0 1
[/code]
-Where example.com is the URL of your hub, /mount/point is the location you want to mount the cloud, and &lt;DesktopUser&gt; 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 [baseurl] is the URL of your hub, /mount/point is the location you want to mount the cloud, and &lt;DesktopUser&gt; 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
-[code]example.com/cloud/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1[/code]
+[code][baseurl]/cloud/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1[/code]
Now, create the mount point.
@@ -49,7 +49,7 @@ Create a file called 'secrets'
and add your cloud login credentials
[code]
-example.com/cloud &lt;username&gt; &lt;password&gt;
+[baseurl]/cloud &lt;username&gt; &lt;password&gt;
[/code]
Where &lt;username&gt; and &lt;password&gt; are the username and password [i]for your hub[/i].
@@ -60,7 +60,7 @@ Don't let this file be writeable by anyone who doesn't need it with
Finally, mount the drive.
-[code]mount example.com/cloud[/code]
+[code]mount [baseurl]/cloud[/code]
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.