Open Containing Folder doesn't work

Bug #807602 reported by Muelli
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

[53189.196377] type=1400 audit(1310140494.916:27): apparmor="DENIED" operation="exec" parent=24816 profile="/usr/bin/evince" name="/usr/bin/nautilus" pid=24817 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0

I right clicked a PDF shown in Evince and selected "Open containing folder" from the context menu. It didn't work. I wouldn't have expected that menu option if it doesn't work.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: evince 3.1.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.0-2.3-generic 3.0.0-rc4
Uname: Linux 3.0-2-generic x86_64
Architecture: amd64
Date: Fri Jul 8 17:55:19 2011
SourcePackage: evince
UpgradeStatus: Upgraded to oneiric on 2011-07-02 (6 days ago)

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
Robert Sajdok (ris)
Changed in evince (Ubuntu):
status: New → Confirmed
Revision history for this message
Jesse (sbjesse) wrote :

I have a workaround although I'm not 100% it is kosher. apply this patch to /etc/apparmor.d/usr.bin.evince:

$ patch -u usr.bin.evince <<JESSE
@@ -34,6 +34,7 @@
   /usr/bin/evince-previewer Px,
   /usr/bin/yelp Ux,
   /usr/bin/bug-buddy px,
+ /usr/bin/nautilus Pix,

   # allow directory listings (ie 'r' on directories) so browsing via the file
   # dialog works
JESSE

and then
$ sudo service apparmor reload
that should work.

Revision history for this message
Jesse (sbjesse) wrote :

sorry i actually meant
$ patch -u /etc/apparmor.d/usr.bin.evince <<JESSE
@@ -34,6 +34,7 @@
   /usr/bin/evince-previewer Px,
   /usr/bin/yelp Ux,
   /usr/bin/bug-buddy px,
+ /usr/bin/nautilus Pix,

   # allow directory listings (ie 'r' on directories) so browsing via the file
   # dialog works
JESSE

that should patch it right.

Revision history for this message
Jesse (sbjesse) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "allow execution of nautilus" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in evince (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.