From 8e6cf9dad215774d019e9e063248529d789b8160 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 18 Apr 2022 17:11:37 +0300 Subject: [PATCH] flatpak-workarounds.bash: also allow rw of ~/gdb.txt Ref: Mikaela/shell-things#130 --- bash/flatpak-workarounds.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash/flatpak-workarounds.bash b/bash/flatpak-workarounds.bash index 22922d7..56761fd 100755 --- a/bash/flatpak-workarounds.bash +++ b/bash/flatpak-workarounds.bash @@ -11,8 +11,9 @@ flatpak override --filesystem=/usr/local/share/icons:ro --filesystem=/usr/share/ flatpak override --filesystem=/usr/local/share/cursors:ro --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro # In case debugging flatpaks is subject to the other restrictions and running -# gdb there is made easier by access to the file -flatpak override --filesystem=~/.gdbinit:ro +# gdb there is made easier by access to the file. By same logic, they need +# to be able to write to the log. +flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt # Backticks and a lot of common characters in all Flatpaks # https://github.com/flatpak/flatpak/issues/2031