Merge pull request #1314 from lvarnava/master

Update access_webdav.rst
This commit is contained in:
Morris Jobke
2019-03-14 16:52:28 +01:00
committed by GitHub

View File

@@ -135,18 +135,23 @@ automatically every time you log in to your Linux computer.
5. Set yourself as the owner and make the permissions read-write owner only::
chown <username>:<username> ~/.davfs2/secrets
chown <linux_username>:<linux_username> ~/.davfs2/secrets
chmod 600 ~/.davfs2/secrets
6. Add your Nextcloud login credentials to the end of the ``secrets`` file,
using your Nextcloud server URL and your Nextcloud username and password::
example.com/nextcloud/remote.php/dav/files/USERNAME/ <username> <password>
https://example.com/nextcloud/remote.php/dav/files/USERNAME/ <username> <password>
or
$PathToMountPoint $USERNAME $PASSWORD
for example
/home/user/nextcloud john 1234
7. Add the mount information to ``/etc/fstab``::
example.com/nextcloud/remote.php/dav/files/USERNAME/ /home/<username>/nextcloud
https://example.com/nextcloud/remote.php/dav/files/USERNAME/ /home/<linux_username>/nextcloud
davfs user,rw,auto 0 0
8. Then test that it mounts and authenticates by running the following
command. If you set it up correctly you won't need root permissions::