Bug#911161: evince: update thumbnailer /tmp access for new nautilus paths

Jamie Strandboge jamie at ubuntu.com
Tue Oct 16 16:46:07 BST 2018


Package: evince
Version: 3.30.1-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/apparmor-profile: adjust thumbnailer policy for updated temporary
    file path during nautilus thumbnail generation (LP: #1798091)

Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-36-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru evince-3.30.1/debian/apparmor-profile evince-3.30.1/debian/apparmor-profile
--- evince-3.30.1/debian/apparmor-profile	2018-10-07 23:17:39.000000000 -0500
+++ evince-3.30.1/debian/apparmor-profile	2018-10-16 09:28:03.000000000 -0500
@@ -299,7 +299,7 @@
   owner @{HOME}/[^.]** r,
   owner /media/**  r,
 
-  owner /tmp/.gnome_desktop_thumbnail.* w,
+  owner /tmp/{,.}gnome_desktop_thumbnail.* w,
 
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.bin.evince>


More information about the pkg-gnome-maintainers mailing list