Thank you for using Ubuntu and reporting a bug. The udev denials are harmless 
and are fixed in Ubuntu 12.04 LTS. The access denial is due to the fact that 
"/media/ROT/dbr" is not in your $HOME and doesn't have an extension. Because 
apparmor cannot look at the contents of the file to determine access controls, 
it must look at the PATH. We can't really adjust the profile for your case 
without opening up too much access. As such, I suggest you either ensure the 
file has a .pdf extension or adjust /etc/apparmor.d/local/usr.bin.evince to 
contain:
  /media/** r,

Then run 'sudo apparmor_parser -r /etc/apparmor.d/usr.bin.evince'. The
/etc/apparmor.d/local files are designed to work with site specific
requirements. Thanks again and please don't hesitate to report any other
bugs you might find.

** Changed in: evince (Ubuntu)
       Status: New => Won't Fix

-- 
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/1031522

Title:
  AppArmor prevents viewing files from USB-stick

Status in “evince” package in Ubuntu:
  Won't Fix

Bug description:
  When trying to open PDF-Files that are located on an USB-Stick Evince 
reports, that the permissions where denied to open the file.
  Also the thumbnailer fails.

  1. view PDF located at desktop
  2. insert media
  3. copy file to media
  4. click on file in new position

  [61680.501517] type=1400 audit(1343769768.483:22): apparmor="DENIED" 
operation="open" parent=30604 profile="/usr/bin/evince-thumbnailer" 
name="/media/ROT/dbr" pid=30605 comm="evince-thumbnai" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=1000
  [61680.501780] type=1400 audit(1343769768.483:23): apparmor="DENIED" 
operation="open" parent=30604 profile="/usr/bin/evince-thumbnailer" 
name="/media/ROT/dbr" pid=30605 comm="evince-thumbnai" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=1000
  [61684.122638] type=1400 audit(1343769772.103:24): apparmor="DENIED" 
operation="open" parent=1 profile="/usr/bin/evince" name="/run/udev/data/b8:33" 
pid=30607 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
  [61684.123463] type=1400 audit(1343769772.103:25): apparmor="DENIED" 
operation="open" parent=1 profile="/usr/bin/evince" name="/media/ROT/dbr" 
pid=30617 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: evince 3.2.1-0ubuntu2.2
  ProcVersionSignature: Ubuntu 3.0.0-22.36-generic 3.0.33
  Uname: Linux 3.0.0-22-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Jul 31 23:33:26 2012
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to