Skip to content

Review flatpak sandboxing issues and document workarounds #2363

@m3nu

Description

@m3nu

Overview

This task is to systematically review, test, and document known flatpak sandboxing issues that affect Vorta users, and identify workarounds where possible.

Related Issues

FUSE/Mounting Problems

D-Bus and Keyring Access

Filesystem Access

Network/DNS

Theme and UI

General

Tasks

  1. Review and reproduce issues

    • Test each issue on a recent distro with current Flatpak version (v0.11.x)
    • Document which issues are still reproducible
    • Identify root causes (sandbox permissions vs. code issues)
  2. Document workarounds

    • For each confirmed issue, document any known workarounds
    • Test Flatseal permission overrides where applicable
    • Create user-facing documentation for common fixes
  3. Propose manifest changes

    • Identify missing permissions in the Flatpak manifest
    • Create PR to flathub/com.borgbase.Vorta if changes are needed
    • Balance security (minimal permissions) with functionality
  4. Update documentation

    • Add Flatpak-specific troubleshooting section to docs/wiki
    • Document known limitations of the sandboxed version
    • Clarify differences between Flatpak and native package behavior

Current Flatpak Permissions

The manifest at flathub/com.borgbase.Vorta includes:

  • Filesystem: --filesystem=host, --filesystem=~/.var/app/
  • D-Bus: org.freedesktop.secrets, org.kde.kwalletd5, org.freedesktop.NetworkManager, org.freedesktop.login1
  • Sockets: X11 fallback, Wayland, SSH auth
  • Network: Full network access

Potential Missing Permissions to Investigate

  • System bus access for full D-Bus functionality
  • FUSE device access for mounting
  • Additional portal permissions for file dialogs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions