mod_dav_fs DavLockDB permissions
mod_dav_fs requires the DavLockDB for specifying a directory where binary databases with locks on files are held (mod_dav_fs implements the WebDAV LOCK method through its own locking mechanism rather than relying on functionality of the underlying filesystem).
Because the request handling process accesses the lock database directly, all POSIX users with access via WebDAV must be allowed to read and modify the database files. The simplest way to ensure this is to set world-writeable permissions on the files. This must be done on each individual file in the lock database directory, because otherwise the file is owned by the first user triggering access to the files via WebDAV.
The following files have been observed to be created:
- On RHEL7
${DavLockDB}.dir${DavLockDB}.pag
- On Debian 10 "Buster" (Docker Images based on our
httpdimage)${DavLockDB}
The full set of files which may be created needs to be researched.