The same thing happened to me today (I'm assuming, based on the error message), this here should fix it:

Open up Ubuntu Software Go to the program that is not working (via search, or via the installed tab) Click the permissions button Enable Read/ Write permissions for storage devices and/ or the home folder (wording is different for each application)

This is what worked for me (on Ubuntu 18.04). I hope this helps you!