News
Migration Alert: Navigating Duplicati 2.4 Data Folder Security
Duplicati 2.4 introduces strict new data folder security checks that could catch your Docker containers or homelab setups off guard. Here is how to navigate these breaking permission changes using the `ConfigureTool` fix or safe bypass flags to keep your backups running smoothly.
The Duplicati 2.4 release introduces key security updates to protect local backup configurations and databases. To defend against unauthorized local access, Duplicati now enforces strict data folder permission checks at startup. If a data folder has lax or unexpected permissions, Duplicati will refuse to run until the issue is resolved.
This update changes how upgraded installations and containerized environments interact with host storage.
What Changed in Version 2.4?
Previously, Duplicati attempted to silently lock down data folder permissions or allowed simple opt-out files like insecure-permissions.txt inside the data folder.
With version 2.4, security validation is stricter:
Permission Enforcement: Duplicati requires that the data folder is strictly accessible only by the service owner.On Linux/macOS, access is restricted to the current process user; on Windows, access is limited to the running user, SYSTEM, and Administrators.
Deprecated Opt-Outs: Legacy
insecure-permissions.txtfiles placed inside data folders are no longer supported.Trusted Preload Paths: Preload configurations (
preload.json) are only accepted if stored inside binary directories or explicitly designated via theDUPLICATI_PRELOAD_SETTINGSenvironment variable.
Who Is Affected?
While standard native installs created from scratch automatically apply correct permissions, three primary operational setups will encounter breaking changes:
Environment | Impact | Cause |
Docker Containers | Container startup failure / crash loop | Host-mounted volumes ( |
Network Shares (NFS/SMB) | Service failure on launch | Remote file systems that do not respect or map local POSIX/NTFS permission inheritance properly. |
Multi-User Hosts & Service Moves | Permission verification error | Data directories created under one user account and subsequently migrated to run as a system daemon or under another account. |
Users of | The | If the users invoking |
How to Resolve: Fixing Permissions with ConfigureTool
For native OS installations and persistent bare-metal hosts, fixing the folder permissions directly is the recommended fix. Duplicati includes a tool to automatically re-secure data directories.
Linux / macOS:
Run the duplicati-configure CLI tool using the secure-datafolder command:
Windows / Windows Service:
When running as a Windows Service, execute the service executable in an elevated context to apply system-level ACLs:
Using duplicati-server-util safely
For users that rely on duplicati-server-util, the recommended solution is to use the native secret provider to store the access password, and then securely retrieve it when invoking the server util.
To set the password, first invoke the duplicati-secret-tool to set the password, then use that when invoking the duplicati-server-util:
For Windows, the equivalent is:
The options to add the secret provider and pass the password can be added to preload.json so you do not have to type it on the commandline each time:
Bypassing Checks Safely (Container & Homelab Workarounds)
In specific environments like Docker, Unraid, or Synology NAS mounts, enforcing POSIX file permissions on host-bound mounts may not be supported by the host filesystem driver.
If adjusting permissions on the host filesystem is not feasible, bypass the check using one of two options:
Environment Variable (Recommended for Docker):
Add the environment variable to your
docker-compose.ymlor container definition:CLI Startup Flag:
Append the parameter when launching the server binary:
Bypass marker file:
Place an empty file named
insecure-permissions.txtin the folder where the Duplicati binaries are installed.
Security Warning: Bypassing this check means unprivileged local users with host access could potentially read backup metadata or local keys. Only apply bypass flags inside isolated container environments or dedicated single-tenant (virtual) machines.



