← Back to team overview

desktop-packages team mailing list archive

[Bug 807507] Re: apparmor denies evince creating links in .local/share/gvfs-metadata

 

This bug exists in 10.04 LTS (evince 2.30.3-0ubuntu1.2)

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

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

Status in “evince” package in Ubuntu:
  Fix Released

Bug description:
  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

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