Is there a workaround to make Snaps write to SMB shares mounted by KIO or saving to Webdav-mounted Nextcloud?

Ubuntu Version: 24.04

Desktop Environment (if applicable): KDE Plasma 6

Problem Description:

LibreOffice Snap (and maybe others) can’t open SMB shares mounted by KIO

$ snap connections libreoffice 
Interface               Plug                                Slot                            Notes
audio-playback          libreoffice:audio-playback          :audio-playback                 -
bluez                   libreoffice:bluez                   -                               -
content[gnome-46-2404]  libreoffice:gnome-46-2404           gnome-46-2404:gnome-46-2404     -
content[gpu-2404]       libreoffice:gpu-2404                mesa-2404:gpu-2404              -
content[gtk-3-themes]   libreoffice:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[gtk-3-themes]   libreoffice:gtk-3-themes            gtk-theme-breeze:gtk-3-themes   -
content[icon-themes]    libreoffice:icon-themes             gtk-common-themes:icon-themes   -
content[icon-themes]    libreoffice:icon-themes             icon-theme-breeze:icon-themes   -
content[sound-themes]   libreoffice:sound-themes            gtk-common-themes:sound-themes  -
cups-control            libreoffice:cups-control            :cups-control                   -
desktop                 libreoffice:desktop                 :desktop                        -
desktop-legacy          libreoffice:desktop-legacy          :desktop-legacy                 -
gsettings               libreoffice:gsettings               :gsettings                      -
home                    libreoffice:home                    :home                           -
network                 libreoffice:network                 :network                        -
network-bind            libreoffice:network-bind            :network-bind                   -
opengl                  libreoffice:opengl                  :opengl                         -
pulseaudio              libreoffice:pulseaudio              :pulseaudio                     -
removable-media         libreoffice:removable-media         :removable-media                -
screen-inhibit-control  libreoffice:screen-inhibit-control  :screen-inhibit-control         -
unity7                  libreoffice:unity7                  :unity7                         -
wayland                 libreoffice:wayland                 :wayland                        -
x11                     libreoffice:x11                     :x11                            -

Possibly related, but I can’t save any files on webdav as well.

Relevant System Information:

Screenshots or Error Messages:

image

What I’ve Tried:

Works on LibreOffice Flatpak, which is what I’m mainly using these days because of this problem


that smells more like an issue with the portal implementation than a snap issue … you might be able to work around it by using actual cifs/smb mounts into /mnt and using the removable-media interface