Public bug reported:

Ubuntu 13.10
evince-3.10.0

Apparmour does not give permission to read xz compressed pdf files,
however evince is otherwise capable of doing so.

Error in /var/syslog/:
kernel: [36640.816592] type=1400 audit(1384870022.949:59): apparmor="DENIED" 
operation="exec" parent=9632 profile="/usr/bin/evince" name="/usr/bin/xz" 
pid=9633 comm="EvJobScheduler" requested_mask="x" denied_mask="x" fsuid=1000 
ouid=0

Added the following to /etc/apparmor.d/abstractions/evince:

in section # supported archivers
/usr/bin/xz ixr,

in section # from http://live.gnome.org/Evince/SupportedDocumentFormats.
Allow read for all supported file formats /**.[xX][zZ]         r,

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Patch to apply to file in debian subdirectory of Evince source 
package"
   https://bugs.launchpad.net/bugs/1252771/+attachment/3912669/+files/patch

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1252771

Title:
  Permission denied reading pdf.xz files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1252771/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to