Skip to content

Add read permission to qt shader cache

José Pekkarinen requested to merge github/fork/Pekkari/xenial into xenial

This patch adds the apparmor profile permissions to solve the following couple of denials. Observed while trying to send a picture over mms on messaging-app.

Sep 18 15:04:29 ubuntu-phablet kernel: [ 236.994726] audit: type=1400 audit(1631966669.681:168): apparmor="DENIED" operation="open" profile="messaging-app" name="/proc/6307/task/6346/comm" pid=6307 comm="QSGRenderThread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011 [ 210.312281] audit: type=1400 audit(1631966643.001:136): apparmor="DENIED" operation="open" profile="messaging-app" name="/home/phablet/.cache/qtshadercache-arm64-little_endian-lp64/deeaa96ac50287ecfebcec7dc60134256be0011c" pid=6307 comm="QSGRenderThread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011

Signed-off-by: José Pekkarinen jose.pekkarinen@foxhound.fi

Edited by Raoul Kramer

Merge request reports