https://bugs.kde.org/show_bug.cgi?id=409364

            Bug ID: 409364
           Summary: Apparmor blocks opening of multimedia files on LAN
                    (reading of temporary file in ~/.cache/kioexec/krun/*
                    is blocked)
           Product: krusader
           Version: 2.6.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krusader-bugs-n...@kde.org
          Reporter: terence.v.s...@gmail.com
                CC: krusader-bugs-n...@kde.org
  Target Milestone: ---

Created attachment 121254
  --> https://bugs.kde.org/attachment.cgi?id=121254&action=edit
Error message suggests that that the kio-extras managed temporary file can't be
read

SUMMARY

In Krusader when a multimedia file on the LAN was double-clicked then after a
delay an error message window such as that shown in attachment
"Krusader_error_window_01.png" appeared.

The associated system log error message extract revealed why:
---------------------------------------------------------------------
kernel: audit: type=1400 audit(1561976785.431:61): apparmor="DENIED"
operation="open" profile="snap.vlc.vlc"
name="/home/bloggs_j/.cache/kioexec/krun/18428_0/A_United_Kingdom.mp4"
pid=18769 comm="vlc" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
---------------------------------------------------------------------

By contrast when the very same file on the LAN was double-clicked using the
Files app, it opened and played within AVC no problem.

When the very same file on the LAN was subsequently copied to the ~/Downloads
directory and  then double-clicked in Krusader it opened in VLC and played no
problem.

STEPS TO REPRODUCE
1. Double-click on ANY other multimedia file on the LAN using Krusader.
2. Inspect the system log.
3. Double-click the same file on the LAN using the Files app or download it and
then double-click the downloaded copy using Krusader.

OBSERVED RESULT
Krusader will not allow multimedia files on the LAN to be played whereas the
Files app will.

EXPECTED RESULT
Krusader should allow multimedia files on the LAN to be played since it did
just that until recently (unfortunately I don't know whether this is as a
result of one or more updates of the following packages: Krusader; kio-extras;
Apparmor) AND the Files app IS allowed to play multimedia files on the LAN
without it being necessary to download a copy.

SOFTWARE/OS VERSIONS

Linux/Desktop: 
OS: Ubuntu 18.04.2 LTS (64-bit)
Desktop: Gnome 3.28.2
KDE Frameworks 5.44.0
Qt 5.9.5 (built against 5.9.5)

ADDITIONAL INFORMATION
Main desktop= Gnome but several KDE elements were added when KDE apps were
installed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to