Kodi Community Forum
Kodi Flatpak Can Not See /srv - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Kodi Flatpak Can Not See /srv (/showthread.php?tid=378147)



Kodi Flatpak Can Not See /srv - Quantum` - 2024-07-10

Anyone know why?  Is this a symptom of it being a flatpak?

All rights are fine and selinux is permissive.


RE: Kodi Flatpak Can Not See /srv - DaVu - 2024-07-10

Kodi installed via Flatpak is kind of "sandboxed". Hence only specific folders are able to be seen. But you are able to change that by using "overrides". 

Please have a look here: https://man7.org/linux/man-pages/man1/flatpak-override.1.html
Specifcally to the "filesystem"-section. This also refers to: https://man7.org/linux/man-pages/man5/flatpak-metadata.5.html
Which shows another "filesystem"-section providing the options you have. 

For getting /srv to be seen inside Kodi-Flatpak, I would try the following:

sudo flatpak override tv.kodi.Kodi --filesystem=/srv

Please make sure "tv.kodi.Kodi" is the correct name by checking via "flatpak list"