Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
1879
views
setting up davfs2 to mount properly
I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created. I have followed the tutorials online with the only difference being that t...
I am trying to set up my nextcloud account so that i can log in. When I try to log in with sudo mount -t davfs2 ... it keeps on asking for my next cloud credentials - it does not get them from the secrets file that i created.
I have followed the tutorials online with the only difference being that the tutorials specify to update the /etc/fstab file. But i do not want to do this because i have this set up on my laptop where i only sporadically have access to the internet. I would prefer to use sudo mount.... and have the credential input automaticall from the secrects file (i understand that each time i will need to input my sudo password).
I believe that what is happening is that when i use sudo mount .... it is trying to load the system /etc/davfs2 configuration instead of my local .davfs2. I believe this because when i try to configure the /etc/davfs2 (to point to my secrets file) i get config erorrs. But when i purposefully put errors in the local .davfs2 config file the system never seems to recognise it.
the only other thing i can think to do is allow local users permission to run mount which i would prefer not to do.
What i may be doing wrong?
PS - using Xubuntu
andrew
(1 rep)
May 11, 2019, 01:54 PM
• Last activity: Aug 4, 2025, 05:07 AM
2
votes
0
answers
388
views
Mount Bitrix24 drive: legacy Digest challenge not supported
I would like to mount a bitrix24 network drive. The drive seems to be accessible via webDAV using a URL that looks like the following: `https://b24-XXXXXX.bitrix24.de/company/personal/user/1/disk/path/` with XXXXXX as a random ASCII string. While my final aim would be to mount the drive automaticall...
I would like to mount a bitrix24 network drive.
The drive seems to be accessible via webDAV using a URL that looks like the following:
https://b24-XXXXXX.bitrix24.de/company/personal/user/1/disk/path/
with XXXXXX as a random ASCII string.
While my final aim would be to mount the drive automatically via fstab, I worked out the following command for initial attempts:
sudo mount -t davfs https://b24-XXXXXX.bitrix24.de/company/personal/user/1/disk/path/
After initiating the command the following procedure with the corresponding error message is triggered:
Please enter the username to authenticate with server
https://b24-XXXXXX.bitrix24.de/company/personal/user/1/disk/path/ or hit enter for none.
Username: username@domain.tld
Please enter the password to authenticate user andreas@weinzierl.it with server
https://b24-XXXXXX.bitrix24.de/company/personal/user/1/disk/path/ or hit enter for none.
Password:
/sbin/mount.davfs: Mounting failed.
Could not authenticate to server: legacy Digest challenge not supported
Sadly, it isn't really apparent how I could fix this problem from the client side.
I would like to note that adding the same drive with the same credentials in Windows Explorer
works fine, which means that in theory mounting should be possible.
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" (via WSL 2)
JFFIGK
(21 rep)
Mar 22, 2023, 10:47 PM
• Last activity: Mar 20, 2025, 10:02 AM
1
votes
1
answers
1630
views
WebDAV + davfs -- error copying large files
I am using Apache on server, with WebDAV. On client Linux, I have davfs2 mounted folder. When I try to access small file, everything works fine. When I try to access image file size of 2Gb, I am getting `Input/output error`. My guess is that there is some limitation on Apache/WebDAV side. In httpd.c...
I am using Apache on server, with WebDAV.
On client Linux, I have davfs2 mounted folder. When I try to access small file, everything works fine. When I try to access image file size of 2Gb, I am getting
Input/output error
. My guess is that there is some limitation on Apache/WebDAV side. In httpd.conf I have LogLevel debug
, but still logs doesn't show much about this error. Question is: how to enable WebDAV detailed logs and what are default size limitations in WebDAV for upload and download?
Pablo
(245 rep)
Oct 13, 2015, 09:44 AM
• Last activity: Jun 13, 2023, 03:25 PM
7
votes
2
answers
5191
views
How to manually synchronize a mounted webdav folder?
I have mounted a [webdav][1] directory with [davfs2][2] via: sudo mount -t davfs -o uid=bruni,gid=users https://server/folder /home/bruni/mountpoint/ How can I force a sync via command line without unmounting the directory? The client is running [KUbuntu][3] 19.10, the server is an [egroupware][4] s...
I have mounted a webdav directory with davfs2 via:
sudo mount -t davfs -o uid=bruni,gid=users https://server/folder /home/bruni/mountpoint/
How can I force a sync via command line without unmounting the directory?
The client is running KUbuntu 19.10, the server is an egroupware server but this is most probably irrelevant.
mount.davfs -V
davfs2 1.5.5
To clarify what I mean by synchronize, I mean what
umount.davfs
, does before unmounting to verify that all changes have been uploaded to the server:
/sbin/umount.davfs: waiting while mount.davfs (pid xxxxx) synchronizes the cache .. OK
Bruni
(185 rep)
May 18, 2017, 08:05 AM
• Last activity: Jun 30, 2022, 09:02 PM
0
votes
1
answers
835
views
Copying large files to WebDAV share lets overflow the file system
From my internet provider, I got 100GB WebDAV cloud storage. I wanted to use this to store a remote backup of my pictures. Unfortunatelly, copying the 75GB into the cloud lets repeatedly overflow my root filesystem , i.e. `/var/cache`. This is **Debian Bullseye**. mount -t davfs https://sd2dav.1und1...
From my internet provider, I got 100GB WebDAV cloud storage. I wanted to use this to store a remote backup of my pictures. Unfortunatelly, copying the 75GB into the cloud lets repeatedly overflow my root filesystem , i.e.
/var/cache
.
This is **Debian Bullseye**.
mount -t davfs https://sd2dav.1und1.de /media/dav
nohup rsync --partial -avp /home/user/Bilder_Cloud_full_b1_s1_v1.tib /media/dav/Bilder/ &
On the next morning (after reboot)
$ cat nohup..out
sending incremental file list
Bilder_Cloud_full_b1_s1_v1.tib
rsync: [receiver] write failed on "/media/dav/Bilder/Bilder_Cloud_full_b1_s1_v1.tib": No space left on d>rsync error: error in file IO (code 11) at receiver.c(378) [receiver=3.2.3]
rsync: [sender] write error: Broken pipe (32)
$ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 1,9G 0 1,9G 0% /dev
tmpfs 388M 1,2M 387M 1% /run
/dev/mapper/server--vg-root 33G 31G 37M 100% /
tmpfs 1,9G 4,0K 1,9G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/mapper/server--vg-data 6,9T 6,2T 455G 94% /data
/dev/sda1 234M 162M 60M 74% /boot
/tmpfs 388M 32K 388M 1% /run/user/1000
which was caused by /var/cache
. This happens always, not just when copying this specific file but when trying to backup directly from my windows machine into this directory (over SMB). It really seems to be a regular problem.
My upload is **45 Mbits/s**, rsync should respect this.
I don't understand why this always floods my root filesystem. If the cloud storage was unmounted during copying, it should flood /media/dav, right? But there is nothing.
Is DAV just not stable neough for this kind of usage?
Powerriegel
(101 rep)
May 6, 2022, 06:56 AM
• Last activity: May 6, 2022, 08:28 AM
12
votes
3
answers
13335
views
davfs unknown option because of secrets file
I'm trying to make a WebDAV auto-mount on my machine. I've installed `davfs2`, then copied `/etc/davfs2` to `~/.davfs2`. I added the WebDAV URL to `/etc/fstab`: [URL of the WebDAV] [Local folder] davfs rw,user,auto 0 0 I also added the username and password to `~/.davfs2/secrets` and uncommented `se...
I'm trying to make a WebDAV auto-mount on my machine.
I've installed
davfs2
, then copied /etc/davfs2
to ~/.davfs2
. I added the WebDAV URL to /etc/fstab
:
[URL of the WebDAV] [Local folder] davfs rw,user,auto 0 0
I also added the username and password to ~/.davfs2/secrets
and uncommented secrets ~/.davfs2/secrets
in ~/.davfs2/davfs2.conf
to enable automatic login.
Now I can manually mount it by running mount www.myserver.com
(it doesn't ask me for username/password). I understand that running mount -a
will do the same thing that would've been done at boot, but when I run sudo mount -a
as my user (just mount -a
says I need to be root) I do get asked for a username/password.
I then uncommented secrets ~/.davfs2/secrets
in /etc/davfs2/davfs2.conf
to enable automatic authentication (see this and this ). Now running sudo mount -a
AND just using mount
both result in /sbin/mount.davfs:/etc/davfs2/davfs2.conf:36: unknown option
. Line 36 is the secrets ~/.davfs2/secrets
line.
Why does it say unknown option? How do I fix it?
Superbest
(497 rep)
Apr 21, 2015, 02:09 PM
• Last activity: Mar 16, 2022, 12:32 PM
15
votes
3
answers
30923
views
rsync mkstemp failed Invalid argument (22) with davfs mount of Box.com cloud
I mounted Box.com cloud storage using davfs according to [these instructions][1]. I mounted my Box.com account under /home/me/Cloud/Box I can access the mounted filesystem via Dolphin as well as via the terminal. It is a little slow, but I can list (ls) and navigate the entire directory structure wi...
I mounted Box.com cloud storage using davfs according to these instructions . I mounted my Box.com account under /home/me/Cloud/Box
I can access the mounted filesystem via Dolphin as well as via the terminal. It is a little slow, but I can list (ls) and navigate the entire directory structure with no errors.
Next I attempted to run rsync as follows:
rsync -auvz --max-size=250M --exclude '.*' /home/me/Music/ /home/me/Cloud/Box/Music
I also tried:
rsync -auv /home/me/Music/A /home/me/Cloud/Box/Music
and other variations of rsync commands. The command is copying my Music from my local file system (/home/me/Music/) to the Box cloud (/home/me/Cloud/Box/Music) via the davfs mount.
I always get a lot of errors of this form:
rsync: mkstemp failed: Invalid argument (22)
A specific example is:
rsync: mkstemp "/home/me/Cloud/Box/Music/VariousArtists/.01_Track_1.mp3.YVmFI9" failed: Invalid argument (22)
This is all happening on Kubuntu 12.04 LTS 64 bit, server grade hardware, with a fast/reliable cable modem connection (12 Mb/s upload speeds).
MountainX
(18888 rep)
Jun 10, 2013, 08:23 PM
• Last activity: Jan 30, 2022, 01:59 PM
2
votes
1
answers
360
views
webdav clients can't upload files bigger than a few kilobytes
I am mounting a webdav share using davfs2. The same folder is mounted on two different virtual machines running Debian stable using davfs2. All options are identical (use locks 0 is set on both). The first machine works smoothly. On the second machine I can view the share and I can also create and e...
I am mounting a webdav share using davfs2. The same folder is mounted on two different virtual machines running Debian stable using davfs2. All options are identical (use locks 0 is set on both). The first machine works smoothly. On the second machine I can view the share and I can also create and edit very small files. For example
$ touch test
$ echo '123' > test
will create the file. Anything bigger (larger than 14 kilobyte) fails to upload. Looking through the syslog I can see that davfs does a PUT request but then I get
Aborted request (-2): Could not read status line
Request ends, status 0 class 0xx, error line:#012Could not read status line: connection timed out
I do not have access to the webdav server but it is an owncloud version 10.0.10 installation.
I get the same behavior when using rclone instead of davfs2, so the problem is not specific to davfs2
shortmanikos
(131 rep)
Jan 9, 2022, 11:58 AM
• Last activity: Jan 20, 2022, 09:47 PM
0
votes
3
answers
1844
views
How to tell if DavFS is installed?
Obviously a noob question, but I'm playing with mounting a webdav folder in Linux, and trying to tell if the davfs is already installed. Googling shows this command to supposedly list all installed filesystems: `cat /proc/filesystems` Problem is, running that command before installing davfs (not sho...
Obviously a noob question, but I'm playing with mounting a webdav folder in Linux, and trying to tell if the davfs is already installed. Googling shows this command to supposedly list all installed filesystems:
Is there a better way to show if davfs is in fact, installed?
cat /proc/filesystems
Problem is, running that command before installing davfs (not shown in the screenshot) and after installing (shown), shows the exact same list of installed fs', which does *not* show davfs:

J. Scott Elblein
(132 rep)
Mar 21, 2021, 03:50 PM
• Last activity: Mar 21, 2021, 05:15 PM
2
votes
1
answers
5173
views
Centos 8 davfs2 Error: Unable to find a match
When trying to install davfs2 on Centos 8 using: yum install davfs2 I get the message "Error: Unable to find a match". I have tried sudo yum -y install epel-release and tried installing with dnf instead of yum based on some searches I did. My problem is I'm not super well-versed with Unix and I can'...
When trying to install davfs2 on Centos 8 using:
yum install davfs2
I get the message "Error: Unable to find a match". I have tried
sudo yum -y install epel-release
and tried installing with dnf instead of yum based on some searches I did. My problem is I'm not super well-versed with Unix and I can't find much on Centos 8 to help me out. Everything come back with Centos 7 when I try searching.
Is davfs2 not supported on Centos 8, or am I just going about this the wrong way? I have installed it on Centos 7 using this method before.
John
(163 rep)
Dec 2, 2019, 12:23 PM
• Last activity: Jan 29, 2020, 11:49 PM
1
votes
1
answers
77
views
If I run a command with `sudo` is it still "invoked by an ordinary user"?
Quote from manpage of `davfs2.conf` for `mount.davfs`: > There is a system wide configuration file /etc/davfs2/davfs2.conf and user configuration files ~/.davfs2/davfs2.conf. When mount.davfs is invoked by root, only the system wide configuration file is read. When invoked by an ordinary user, the u...
Quote from manpage of
davfs2.conf
for mount.davfs
:
> There is a system wide configuration file /etc/davfs2/davfs2.conf and user configuration files ~/.davfs2/davfs2.conf. When mount.davfs is invoked by root, only the system wide configuration file is read. When invoked by an ordinary user, the user configuration file is read in addition.
If I call mount.davfs
with sudo
like
sudo mount -t davfs ...
Will this still count as "invoked by an ordinary user" and therefore read my ~/.davfs2/davfs2.conf
? Or does sudo
make this call "invoked by root" and ~/.davfs2/davfs2.conf
will be ignored?
finefoot
(3554 rep)
Jun 19, 2019, 12:27 AM
• Last activity: Jun 19, 2019, 12:54 AM
6
votes
1
answers
15289
views
mounting a SharePoint document library using davfs in Linux
I was able to install `davfs2` and I can even mount the SharePoint document library using it but when I try to do anything on the mount I get an error. I can mount the document library: root@host:/# mount -t davfs "http://sharepoint/Shared Documents" /mnt/sp Please enter the username to authenticate...
I was able to install
davfs2
and I can even mount the SharePoint document library using it but when I try to do anything on the mount I get an error.
I can mount the document library:
root@host:/# mount -t davfs "http://sharepoint/Shared Documents" /mnt/sp
Please enter the username to authenticate with server
http://sp/Site Stuff or hit enter for none.
Username: username
Please enter the password to authenticate user nacho with server
http://sp/Site Stuff or hit enter for none.
Password:
I can CD to it and I can see it mounted since there:
root@host:/# cd /mnt/sp
root@host:/mnt/sp# ls
Forms lost+found home.html
But when I try to create a file or do anything I get an error:
root@host:/mnt/sp# touch a
touch: setting times of ‘a’: No such file or directory
root@host:/mnt/sp# date > hi.txt
bash: hi.txt: Invalid argument
Anyone have any ideas what's wrong?
IMTheNachoMan
(433 rep)
Sep 9, 2016, 12:39 AM
• Last activity: Apr 6, 2019, 12:13 AM
4
votes
0
answers
3450
views
Automount webdav server on startup with internet
**What I am trying to do?** making the `https://dav.example.com/` automount on startup and without asking user credentials. **what steps I've undertaken?** I followed [official archlinux wiki][1] to setup my davs steps: - installed davfs2 - added myself to group "network": `usermod -a -G network myu...
**What I am trying to do?**
making the
https://dav.example.com/
automount on startup and without asking user credentials.
**what steps I've undertaken?**
I followed official archlinux wiki to setup my davs
steps:
- installed davfs2
- added myself to group "network":
usermod -a -G network myusername
- added webdav server to /etc/fstab
:
https://webdav.example.com /home/username/webdav davfs user,noauto,uid=username,file_mode=600,dir_mode=700 0 1
- created secret file in my /home/username/
and added credentials:
`mkdir ~/.davfs2/
echo "https://webdav.example.com webdavuser webdavpassword" >> ~/.davfs2/secrets
chmod 0600 ~/.davfs2/secrets `
- mounted my dav
mount ~/MyDav
**what happens?**
When restart my pc and when startup has been completed I open nautilus but webdav server is not mounted. I have to mount it manually from the terminal on each restart. This is normal because I set noauto
in fstab line. However, If I set auto
instead, it will mount but fail in the process and return error on boot because mounting require internet connection therefore return error "failed mounting". So both auto
and noauto
have the same results for me.
What I need now is to make webdav server automount when internet connection has been established.
some suggested using _netdev
on fstab line. I did, but no change.
Maybe worthmentioning that when I run mount ~/MyWebDav
from the terminal it mount without asking credintials, but when run mount -a
it ask for credintials and mount if they are correct.
I need to make the webdav server https://dav.example/
automount on startup only when internet connection has been occurred.
Stephan rog
(71 rep)
Dec 19, 2016, 12:46 AM
• Last activity: Mar 9, 2019, 03:17 PM
7
votes
1
answers
12070
views
Is there a way to use inotify on remote filesystems (specifically WebDAV)?
I have Box.com successfully mounted with `davfs2` (webdav) to a local location. Now I am trying to trigger actions on files created and synced in the Webdav folder. Unfortunately this is not working. I see no `inotify` events when files are synced to the local Webdav folder. It does pick-up any loca...
I have Box.com successfully mounted with
davfs2
(webdav) to a local location.
Now I am trying to trigger actions on files created and synced in the Webdav folder.
Unfortunately this is not working. I see no inotify
events when files are synced to the local Webdav folder.
It does pick-up any local file transactions though, so I am pretty confident inotify
is working properly.
Anyone else using Webdav (davfs2
) and inotify
?
yograf
(71 rep)
Oct 27, 2015, 01:00 PM
• Last activity: Nov 28, 2018, 02:38 PM
0
votes
0
answers
53
views
ubuntu 16.04: does davfs2 honor DNS TTL and re-resolves the entry while mounted?
I was provided with a WebDAV storage server, that I want to mount on a productive Ubuntu 16.04 server using `davfs2`. The storage server is connected to using a DNS name; its actual IP might change due to load balancing, failover or maintenance reasons. I want the mount to be as stable and available...
I was provided with a WebDAV storage server, that I want to mount on a productive Ubuntu 16.04 server using
davfs2
. The storage server is connected to using a DNS name; its actual IP might change due to load balancing, failover or maintenance reasons. I want the mount to be as stable and available as possible without any manual intervention needed.
The DNS record has a TTL of a few seconds set. Will davfs2
honor the TTL and connect to another IP if the DNS entry is changed? Do you have any other proposal on how to get this as stable as possible?
[Edit]
This question is about the **specific** behavior of davfs2
, and should imho be therefore not considered a duplicate of the question related to cifs
mentioned by 2 users.
muffel
(3188 rep)
Oct 30, 2018, 11:18 AM
• Last activity: Oct 31, 2018, 07:27 AM
3
votes
1
answers
13484
views
Disable davfs2 caching
There is a problem with undesirable caching of a file by davfs2. A large backup .tar.gz file (4052 Mb) is created on another partition and uploaded. During the process, its copy is created at `/var/cache/davfs2/` and results in unnecessary occupation of disk space on main partion. Cache-related opti...
There is a problem with undesirable caching of a file by davfs2. A large backup .tar.gz file (4052 Mb) is created on another partition and uploaded. During the process, its copy is created at
/var/cache/davfs2/
and results in unnecessary occupation of disk space on main partion.
Cache-related options were disabled /etc/davfs2/davfs2.conf
and were accepted by davfs2 but had no positive effect:
cache_size 0
delay_upload 0
Here's a relevant piece of syslog:
Mar 27 03:00:01 ubuntu mount.davfs: davfs2 1.4.7
Mar 27 03:00:01 ubuntu mount.davfs: /sbin/mount.davfs -o rw
Mar 27 03:12:16 ubuntu mount.davfs: open files exceed max cache size by 4052 MiBytes
How can caching behaviour be totally disabled, so no space would be wasted for davfs2 cache?
Estus Flask
(214 rep)
Mar 27, 2017, 12:42 AM
• Last activity: Jul 16, 2018, 12:41 PM
7
votes
0
answers
799
views
Is it possible to store the password requested by webdav in .davfs2/secrets already encrypted?
davfs2 allows to store user's passwords on `$.davfs2/secrets` in plain text in order to then allow the user to mount the webdav without prompting for password. Is it possible to store the password pre-encrypted? The idea would be that the user herself type the password in an interactive script that...
davfs2 allows to store user's passwords on
$.davfs2/secrets
in plain text in order to then allow the user to mount the webdav without prompting for password.
Is it possible to store the password pre-encrypted? The idea would be that the user herself type the password in an interactive script that (knowing the encrypting algorithm) convert it in encrypted form and save it on $.davfs2/secrets
.
In this way even root would not have access (brute-force apart) to the user password.
Antonello
(1073 rep)
Dec 7, 2017, 04:50 AM
4
votes
1
answers
5534
views
Mount webdav on Linux with cookie authentication
I am trying to access my 'Onedrive for Business' storage from the Linux console, specifically a headless Ubuntu 16.04 server. The only *officially* supported method is the Windows sync application. I want to use Onedrive as a remote filesystem to *extend* my local storage, rather than duplicating al...
I am trying to access my 'Onedrive for Business' storage from the Linux console, specifically a headless Ubuntu 16.04 server. The only *officially* supported method is the Windows sync application.
I want to use Onedrive as a remote filesystem to *extend* my local storage, rather than duplicating all files locally with a sync client.
'Onedrive for business' is really a variant of Sharepoint that will not accept a username and password over webdavs - there must already exist an authentication cookie for the webdavs client.
I have successfully mounted the remote storage as a webdavs folder in Windows 10 by adapting these instructions: https://www.imss.caltech.edu/content/mounting-onedrive-business-mapped-drive but it only works after logging in to our Onedrive website with Internet Explorer to create a cookie that is used by Windows Explorer.
On Linux can I can replicate this behavior by logging in to the Onedrive website in the Konqueror web browser and then using that cookie to connect to webdavs in the Konqueror file browser. This is better than nothing, but I really need console access. Unfortunately KioFuse appears to be long abandoned.
Other than Konqueror, is there any way to do this that will make the remote filesystem accessible to the Linux console? I have looked at davfs2, gvfs, and cadaver, but I can't find any documentation for using an existing cookie for authentication.
Clint
(43 rep)
Jan 14, 2017, 10:39 AM
• Last activity: Nov 30, 2017, 11:14 AM
3
votes
3
answers
5230
views
Can I make davfs ignore untrusted certificates?
My server provides WebDAV over HTTPS only, so that other machines can access the DAV. Say the certificate is issued for `www.myserver.com` and the WebDAV is at `https://www.myserver.com/webdav`. For various reasons, I also want the server itself to mount this directory. Since there's no point using...
My server provides WebDAV over HTTPS only, so that other machines can access the DAV. Say the certificate is issued for
www.myserver.com
and the WebDAV is at https://www.myserver.com/webdav
.
For various reasons, I also want the server itself to mount this directory. Since there's no point using the actual URL and routing over the whole internet, I just take a shortcut:
mount https://localhost/webdav
But now I get a problem:
/sbin/mount.davfs: the server certificate does not match the server name
Which makes sense. As explained by the developer of davfs
, the certificate I got is for www.myserver.com
but it is presented by 127.0.0.1
, so of course it doesn't match.
I want to auto-mount this volume at boot. Presumably that wouldn't work, since at every boot it would wait for someone to answer Y/N to accepting the certificate. How can I make davfs ignore this problem either for this URL or for this certificate?
Superbest
(497 rep)
Apr 21, 2015, 09:27 AM
• Last activity: Oct 21, 2016, 10:56 AM
5
votes
1
answers
8734
views
mounting a davfs share always asks for credentials
I installed davfs2 on my rPi running piCore-6.1. I added a line with the desired mountpoint to /etc/fstab: https://url.../ /path.../ davfs _netdev,rw,user,uid=1000,gid=1000 0 0 I also created a /etc/davfs2/secrets (and called chmod 600 on it) with https://url.../ user password When I call `mount -a`...
I installed davfs2 on my rPi running piCore-6.1. I added a line with the desired mountpoint to /etc/fstab:
https://url.../ /path.../ davfs _netdev,rw,user,uid=1000,gid=1000 0 0
I also created a /etc/davfs2/secrets (and called chmod 600 on it) with
https://url.../ user password
When I call
mount -a
I am asked to enter a username and password, as to my understanding davfs2 should check with the secrets file and use the specified user and password.
**TL;DR My davfs2 doesn´t want to use the secrets file I created...**
arcerent
(101 rep)
Sep 4, 2015, 10:02 AM
• Last activity: Sep 4, 2015, 12:17 PM
Showing page 1 of 20 total questions