Suggested exclusion for Trash directory is incorrect
Pika Backup version: 0.5.0-beta.2
Installation method: flathub-beta
Linux distribution: Fedora Workstation 37 Beta
Repository location: Remote borg server
Debugging information from about dialog:
- Version: 0.5.0-beta.2
- Commit: -C /run/build/pika-backup --short
- App ID: org.gnome.World.PikaBackup
- Sandboxed: true flatpak
OS Information
NAME="Fedora Linux"
VERSION="37 (Workstation Edition)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Flatpak Information
Ok(
FlatpakInfo {
instance: Instance {
app_commit: Some(
"eb22e5438c1eb0a8903fa29d301851258b8e7f2760216e175ee18914428e9054",
),
flatpak_version: Some(
"1.14.0",
),
},
context: {
"filesystems": "~/.var/app;xdg-run/gvfsd;host;/var:ro;xdg-run/gvfs;xdg-data/flatpak:ro;",
"sockets": "x11;wayland;fallback-x11;ssh-auth;",
"unset-environment": "LD_PRELOAD;GDK_BACKEND;",
"shared": "network;ipc;",
"devices": "all;",
},
session_bus_policy: {
"org.gtk.vfs.*": "talk",
"org.freedesktop.Flatpak.*": "talk",
"org.freedesktop.FileManager1": "talk",
},
system_bus_policy: {
"org.freedesktop.UPower": "talk",
},
},
)
User Autostart
[Desktop Entry]
Type=Application
Name=org.gnome.World.PikaBackup
Exec=flatpak run --command=pika-backup-monitor org.gnome.World.PikaBackup
X-Flatpak=org.gnome.World.PikaBackup
Global Autostart
Details
The suggested exclusion for the Trash folder uses the wrong path:
I would expect it to be /home/owen/.local/share/Trash
, instead of what appears to be $XDG_DATA_HOME/Trash
which would give the wrong path inside the sandbox.
My guess is the problem comes from here, but I'm not sure if there's a robust way to get an environment variable from the host, instead of from the sandbox.