Announcement

Collapse
No announcement yet.

Firefox and LibreOffice snaps cannot access SMB file share (How to persist AppArmor profile for snap packages)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [CONFIGURATION] Firefox and LibreOffice snaps cannot access SMB file share (How to persist AppArmor profile for snap packages)

    I'm new in Kubuntu (just installed the flavor package on Ubuntu 2204).

    My problem is Firefox/LibreOffice are denied to accessing SMB file share.

    I found a work around.
    Add following lines to the AppArmor profile of snap packages, and restart snapd.apparmor service.

    Code:
    owner /run/user/[0-9]*/kio-fuse-*/smb/{,**} r,
    owner /run/user/[0-9]*/kio-fuse-*/smb/*/*/**  w,
    But, my work around is not persist. Sometimes it goes away.

    So my question is how to persist my work around ?
    Or is there another solution resolves my problem ?
Working...
X