streamcontroller reports filesystem as readonly in flatpak directory

I receive the following error when trying to download any assets in streamcontroller, how might I make this not read-only for the flatpak?
OSError: [Errno 30] Read-only file system: '/home/username/.var/app/com.core447.StreamController/data/icons/com_axolotlmaid_FontAwesomeIcons'
OSError: [Errno 30] Read-only file system: '/home/username/.var/app/com.core447.StreamController/data/icons/com_axolotlmaid_FontAwesomeIcons'
9 Replies
Kyle Gospo
Kyle Gospo2mo ago
The few times we've seen this, it was a corrupt filesystem Double check your flatpak permissions just in case though, if others aren't exhibiting this behavior
darkesthour111
darkesthour111OP2mo ago
This is a fairly fresh system (less than a week, but I can look into permissions, flatseal?), I thought the .var/app permissions were granted for the flatpak it belonged to btrfs check reported no errors, so thats nice atleast prism launcher works fine for minecraft, so its not other flatpaks, i'll try to assign it permissions to its own app dir and see what happens That did not work, I set it under other files to access but still no luck. Perhaps its the app itself?
Kyle Gospo
Kyle Gospo2mo ago
very possible
darkesthour111
darkesthour111OP2mo ago
Ok so I worked with the streamcontroller discord to eventually figure this out. The issue is because of the following commit setting an override on /data/icons mapping it to ~/.local/share/icons as read only rather than it being able to use its own data structure. https://github.com/ublue-os/bazzite/commit/70f01e3196f4b2f9adacd3e67098c3b923f56ec1
darkesthour111
darkesthour111OP2mo ago
I wouldnt mind submitting a PR to remove the line doing the override for xdg-data/icons if we can determine if its not needed anymore. I saw some mention on this discord that gradience isnt used, or atleast people miss it.
Kyle Gospo
Kyle Gospo4w ago
I think we can pull it it was mainly to fix cursor issues but the new wayland stuff fixes that
darkesthour111
darkesthour111OP4w ago
Ok great, i'll work on submitting a PR later tonight if you want it'll be my first PR for bazzite as well.
darkesthour111
darkesthour111OP4w ago
GitHub
fix(flatpak): remove flatpak data/icons override by darkesthour111 ...
This resolves issues with applications such as StreamController that uses the data/icons folder as part of its data structure. #2332
darkesthour111
darkesthour111OP4w ago
Which you just approved.

Did you find this page helpful?