Public bug reported:

I'm not sure exactly why evince is doing this, but when I open the
attached PDF, I get these messages in my syslog:

[517153.642954] type=1400 audit(1310126279.881:64): apparmor="DENIED" 
operation="link" parent=1 profile="/usr/bin/evince" 
name="/home/kiko/.local/share/gvfs-metadata/.openRJ3GYV" pid=26997 
comm="evince" requested_mask="l" denied_mask="l" fsuid=5107 ouid=5107 
target="/home/kiko/.local/share/gvfs-metadata/home-1dc5eb46.log"
[517153.642147] type=1400 audit(1310126279.881:63): apparmor="DENIED" 
operation="link" parent=1 profile="/usr/bin/evince" 
name="/home/kiko/.local/share/gvfs-metadata/.openF02GYV" pid=26997 
comm="evince" requested_mask="l" denied_mask="l" fsuid=5107 ouid=5107 
target="/home/kiko/.local/share/gvfs-metadata/home"

I have a fix (might be a workaround) here:

--- usr.bin.evince.log  2011-07-08 09:44:30.170324154 -0300
+++ usr.bin.evince      2011-07-08 09:41:09.807227272 -0300
@@ -52,6 +52,8 @@
   @{HOME}/.gnome2/accels/        rw,
   @{HOME}/.gnome2/accelsevince   rw,
   @{HOME}/.gnome2/accels/evince  rw,
+  @{HOME}/.local/share/gvfs-metadata  rw,
+  @{HOME}/.local/share/gvfs-metadata/*  rwl,
 
   # from http://live.gnome.org/Evince/SupportedDocumentFormats. Allow
   # read and write for all supported file formats

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


** Tags: 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/807507

Title:
  apparmor denies evince creating links in .local/share/gvfs-metadata

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

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

Reply via email to