WebDAV server that respects user file permissions
17:22 08 Feb 2026

I am looking for a WebDAV server on Linux that takes user permissions into account, meaning that users should log in with their credentials (Linux username and password) and that they should only be able to read and write file they have access to (via Linux permissions or ACLs), like IIS does on Windows.

From what I understand the only way to enforce filesystem permissions correctly (access, ownership, etc) is to have the web server process run as the logged in user.

My best bet was to use Apache httpd, with WebDAV enabled, Basic Auth, with PAM for authentication, and the mod-ruid2 module that can dynamically switch the user of the httpd process to the user returned by PAM. But it turns out that mod-ruid2 is no longer maintained and that no replacement exists.

What other options exist?

apache webserver webdav