"flatpak run ..." fails with "bwrap: Can't get type of source /mnt: Permission denied"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flatpak (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to start a flatpak app, I get:
$ flatpak run org.gnome.gitg
bwrap: Can't get type of source /mnt: Permission denied
error: Failed to sync with dbus proxy
$ echo $?
1
I have:
$ flatpak list
Name Application ID Version Branch Installation
Freedesktop Platform org.freedesktop
Mesa org.freedesktop
openh264 org.freedesktop
GNOME Application Platform version 41 org.gnome.Platform 41 system
gitg org.gnome.gitg 41 stable system
Yaru Gtk Theme org.gtk.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: flatpak 1.12.7-1
ProcVersionSign
Uname: Linux 5.15.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 10 20:08:35 2022
InstallationDate: Installed on 2022-03-21 (80 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: flatpak
UpgradeStatus: Upgraded to jammy on 2022-03-21 (80 days ago)
This seems to happen when I mount something to /mnt before running flatpak:
$ sudo guestmount -a livecd. ubuntu- cpc.ec2- hvm-ebs. vmdk -i --ro /mnt
[sudo] password for tom:
$ flatpak run org.gnome.gitg
bwrap: Can't get type of source /mnt: Permission denied
error: Failed to sync with dbus proxy