flatpak-workarounds.bash: also allow rw of ~/gdb.txt

Ref: Mikaela/shell-things#130
This commit is contained in:
Aminda Suomalainen 2022-04-18 17:11:37 +03:00
parent 3fd0cfdef8
commit 8e6cf9dad2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 2 deletions

View File

@ -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