borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Accept normal Unraid permissions for database dump storage

Open borg-codex-bot opened this issue 1 month ago • 0 comments

Accept normal Unraid ownership and permissions for configured database dump storage.

The maintainer confirmed that both /mnt/cache and /mnt/cache/borg-database-dumps exist with nobody:users ownership and mode 0777. The plugin currently rejects the dump root unless it is owned by the plugin user with mode 0700. The maintainer explicitly requested ordinary directory/file permissions instead.

  • Accept existing accessible dump directories, including nobody:users and 0777, without chmod/chown of existing paths.
  • Create new dump directories with 0755 and dump artifacts/manifests with 0644. Keep credential and internal control files private.
  • Preserve mount/filesystem/free-space validation and guard file operations against symlink redirection when parents are writable.
  • Keep retained runs readable and cleanable after Unraid changes ownership/modes; preserve profile checks and reject unknown files during cleanup.
  • Improve the related storage diagnostics from #596: named profiles/paths, specific missing/permission/mount errors and no misleading empty-history message when locations are unavailable.
  • Preserve existing profiles, dump contents and archive layout; no configuration overwrite or data migration is needed.

User impact: database exports work with normal Unraid storage permissions and actionable diagnostics. Changelog: user-visible fix, bilingual UI/manual updates and pending release notes required. Test-channel candidate first.

borg-codex-bot avatar Oct 30 '26 10:10 borg-codex-bot