mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #1316 from nextcloud/backport/1314/stable14
[stable14] Update access_webdav.rst
This commit is contained in:
commit
25047c0a00
@ -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::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user