'How to access external drive in melody music player / flatpak app
I am on Ubuntu 18.10 and have installed the music player Melody. I can install this flatpak and run the app, but when I want to link my music folder on my external USB drive to the library, no folders under /media are showing up.
How to make Melody have access permissions to external drives?
edit: See similar question on ask ubunt: https://askubuntu.com/questions/1086529/how-to-give-a-flatpak-app-access-to-a-directory
Solution 1:[1]
Found out, that it is possible to override filesystem permissions via terminal command:
sudo flatpak override --filesystem=host com.github.artemanufrij.playmymusic
After restarting the app, the folders are showing up as expected and Melody can import/play the files.
Solution 2:[2]
Just wanted to add, if you're using flatseal, which is a permission utility for flatpak, select you app, and just scroll down on the right pane until you find FIle System, and toggle All system files:

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Breaker222 |
| Solution 2 | Jastria Rahmat |
