Questions tagged [davfs2]

23 questions
15
votes
3 answers

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. 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)…
MountainX
  • 17,168
  • 59
  • 155
  • 264
11
votes
3 answers

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…
Superbest
  • 487
  • 2
  • 5
  • 15
7
votes
0 answers

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…
Antonello
  • 955
  • 2
  • 9
  • 14
7
votes
2 answers

How to manually synchronize a mounted webdav folder?

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…
Bruni
  • 185
  • 1
  • 7
7
votes
1 answer

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…
yograf
  • 71
  • 1
  • 1
  • 2
6
votes
1 answer

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"…
IMTheNachoMan
  • 355
  • 1
  • 6
  • 17
4
votes
1 answer

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…
Clint
  • 43
  • 1
  • 4
4
votes
0 answers

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 to setup my davs steps: installed davfs2 added myself to…
Stephan rog
  • 71
  • 2
  • 8
4
votes
1 answer

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)…
arcerent
  • 81
  • 1
  • 4
3
votes
0 answers

davfs2 keep files cached longer

I'm using davfs2 to sync with my box.com account and I'm trying to play with the cache settings to get more Dropbox-like functionality. I've noticed that after I don't open a file for a little while it gets removed from the cache. I've set my cache…
zje
  • 2,251
  • 14
  • 20
3
votes
3 answers

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…
Superbest
  • 487
  • 2
  • 5
  • 15
3
votes
0 answers

Check if still mounted correctly

For my daemon, I mounted (several) remote read-only WebDAV folders¹ as "sources" to periodically pull files from. Let $SOURCE be one of them for this question's sake. Before blindly using $SOURCE, I feel it'd be a good idea to check if the mount is…
LDericher
  • 251
  • 2
  • 5
2
votes
1 answer

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…
shortmanikos
  • 131
  • 5
2
votes
1 answer

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…
John
  • 163
  • 1
  • 5
2
votes
1 answer

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…
Estus Flask
  • 194
  • 2
  • 2
  • 6
1
2