https://bugs.kde.org/show_bug.cgi?id=518314
Bug ID: 518314
Summary: kdeconnect silently fails to receive pdf, if apparmor
blocks evince-thumbnailer from creating files
Classification: Applications
Product: kdeconnect
Version First 25.11.80
Reported In:
Platform: Debian unstable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: common
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
I'm on Debian, and it enables AppArmor by default, including lots of rules for
evince-thumbnailer. I'm not sure why that makes it unable to receive the file,
but the more important problem is how difficult it is to discover what the
error is!
STEPS TO REPRODUCE
0. Debian sid, default apparmor, your `~/Downloads` is a symlink to
`/opt/Downloads`.
1. Connect Android kdeconnect app and kdeconnect on Linux desktop
2. In the Android app, choose "Send files".
3.
OBSERVED RESULT
No visible error on either the desktop nor Android app. Excerpting from `dmesg`
was the only way I could find an error.
```
[34013.535387] audit: type=1400 audit(1774828294.936:66): apparmor="DENIED"
operation="open" class="file" profile="/usr/bin/evince-thumbnailer"
name="/opt/Downloads/1774828294655" pid=96496 comm="evince-thumbnai"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
```
EXPECTED RESULT
First, the file should have just been downloaded; kdeconnect has write
privileges. Second, if there is any error, that should be visible in
`kdeconnect-app` somehow.
SOFTWARE/OS VERSIONS
KDE Connect: 25.11.80+git20251121.7090b106-1+b1
(it's been in there for a while though, I just finally figured out why it
didn't work)
ADDITIONAL INFORMATION
The error visibility problem likely contributes most of the problem of
https://bugs.kde.org/show_bug.cgi?id=422232 and
https://bugs.kde.org/show_bug.cgi?id=491199
--
You are receiving this mail because:
You are watching all bug changes.