X-Git-Url: https://git.ralfj.de/bubblebox.git/blobdiff_plain/f0b992053c113a3575728bceb0444756a33d659d..9f759e738ebda4bc95c177c3d2206bb5481483bc:/profiles.py?ds=inline diff --git a/profiles.py b/profiles.py index ff685f9..decab86 100644 --- a/profiles.py +++ b/profiles.py @@ -2,10 +2,8 @@ from bubblebox import * # Various default sandbox settings DEFAULT = collect_flags( - # general flags - bwrap_flags("--die-with-parent"), # namespace unsharing - bwrap_flags("--unshare-all", "--share-net", "--hostname", "bwrapped"), + bwrap_flags("--unshare-all", "--share-net", "--hostname", "bubblebox"), # basic directories bwrap_flags("--proc", "/proc", "--dev", "/dev", "--dir", "/tmp", "--dir", "/var", "--dir", "/run", "--symlink", "../run", "/var/run"), # an empty XDG_RUNTIME_DIR @@ -37,13 +35,11 @@ DESKTOP = collect_flags( }), # Access to some key user configuration home_access({ - (".config/fontconfig", ".XCompose"): Access.Read, + (".config/fontconfig", ".XCompose", ".local/share/applications"): Access.Read, }), # Access to basic d-bus services (that are hopefully safe to expose...) dbus_proxy_flags("--talk=org.kde.StatusNotifierWatcher.*", "--talk=org.freedesktop.Notifications.*", "--talk=org.freedesktop.ScreenSaver.*", "--talk=org.freedesktop.portal.*"), # Make it possible to open websites in Firefox - home_access({ - (".mozilla/firefox/profiles.ini", ".local/share/applications"): Access.Read, - }), + home_access({ ".mozilla/firefox/profiles.ini": Access.Read }), dbus_proxy_flags("--talk=org.mozilla.firefox.*"), )