github marcpope/borgbackupserver v2.12.2

latest releases: v2.28.4, v2.28.3, v2.28.2...
one month ago

Fix: Per-user cache directory ownership reset on container restart

Fixes server-side prune failing with Permission denied after container restart.

What happened

The entrypoint ran chown -R www-data:www-data /var/bbs/cache, which reset per-user borg cache directories (e.g., /var/bbs/cache/bbs-batam) to www-data ownership. Since prune runs as the SSH user, it lost access to its own cache directory.

Fix

  • /var/bbs/cache is now only chown'd at the top level (not recursive), matching the fix already applied to /var/bbs/home
  • Per-user cache directory ownership is restored during the SSH user recreation loop on startup

Upgrade

docker pull marcpope/borgbackupserver:latest
docker compose up -d

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.