With the flatpak, you can override the sandboxing mechanism on a per application basis, which is nice.
For example, if your disk is in /media/user/disk, you can do flatpak override --filesystem=/media com.rawtherapee.RawTherapee and then relaunch the app.