-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathportal_error.txt
29 lines (20 loc) · 1.16 KB
/
portal_error.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Your Flatpak version does not support a feature needed for this Chromium Flatpak
to run. This generally happens when your distribution has unprivileged user
namespaces disabled.
========== FOR DEBIAN FAMILY USERS ==========
If the distro you are currently using is Debian or a derivative, you can run the
following commands as root (you can enter a root shell via 'sudo -i'):
dpkg-statoverride --update --add root root 0755 /usr/bin/bwrap
echo kernel.unprivileged_userns_clone=1 > /etc/sysctl.d/50-bubblewrap.conf
sudo sysctl -w kernel.unprivileged_userns_clone=1
========== FOR OTHER DISTROS =========
If you installed a "hardened" security kernel, these also usually disable
unprivileged user namespaces. They can be re-enabled by running the following
as root (you can enter a root shell via 'sudo -i'):
echo kernel.unprivileged_userns_clone=1 > /etc/sysctl.d/50-bubblewrap.conf
sudo sysctl -w kernel.unprivileged_userns_clone=1
If 'ls -l /usr/bin/bwrap' contains 'rws', then bwrap is also setuid. This can be
removed, if present, via:
sudo chmod u-s /usr/bin/bwrap
However, note that the permissions may be overridden on the next update of your
distro's bubblewrap package.