Nextcloud snap combined with emby


I’ve been wondering how it would be possible to run a nextcloud (installed with snap) user could be in the same folder as emby is running.

I’m running Nextcloud in Snap. But also let Nextcloud listen to an external drive (/media/storage1, external hard drive). But having trouble with the permissions. Does anyone have an idea what would be the best combination to let Nextcloud work with Emby?

That should work fine, but the external data will need to be readable/writable by root.