LXDE, apparmor: "Show Containing Folder" button failed to execute err

Bug #1022962 reported by John McCabe-Dansted on 2012-07-10
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Low
Jamie Strandboge

Bug Description

In Ubuntu 12.04 LTS I get the following error whenever I use the File->Open Containing Folder feature.
  Could not open the containing folder.
  Failed to execute child process "pcmanfm" (Permission denied)

This is precisely bug #864992, but for LXDE instead of Gnome.

 The problem is fixed for LXDE (and presumably KDE and XFCE) by replacing "/usr/bin/nautilus Cx -> sanitized_helper" with the following to /etc/apparmor.d/usr.bin.evince

  /usr/bin/nautilus Cx -> sanitized_helper, #Gnome File Manager
  /usr/bin/pcmanfm Cx -> sanitized_helper, #LXDE File Manager
  /usr/bin/krusader Cx -> sanitized_helper, #KDE File Manager
  /usr/bin/thunar Cx -> sanitized_helper, #XFCE File Manager

(and then running: "sudo /etc/init.d/apparmor reload")

As with bug #864992 the chance of a regression is low, and it should not increase the attack surface in the slightest unless pcmanfm, krusader or thunar were installed (they wouldn't exist in a default Ubuntu install, unless the user manually installed them, in which case the user probably wants to be allowed to use them).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evince-common 3.4.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Tue Jul 10 20:40:45 2012
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apparmor.d.usr.bin.evince: 2012-07-10T20:40:30.549025

John McCabe-Dansted (gmatht) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems apparmor related indeed

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - LXDE: "Show Containing Folder" button failed to execute err
+ LXDE, apparmor: "Show Containing Folder" button failed to execute err

Thank you for reporting this bug! Workaround from comment #0 worked for me. Lubuntu 12.04 32 bits.

cheers!

bug also affects Lubuntu 12.10 32 bits.

tks,
ibere

This bug also affects Lubuntu 13.10 32 bits.

daily build: 20130718.

tks,
ibere

Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1022962

tags: added: iso-testing
b3nmore (b3nmore) wrote :

Workaround from #0 still necessary in xubuntu 13.10 and 14.04.

Changed in evince (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evince - 3.10.3-0ubuntu8

---------------
evince (3.10.3-0ubuntu8) trusty; urgency=medium

  * debian/apparmor-profile: allow alternate file managers to nautilus when
    using 'Show containing folder' (LP: #1022962)
 -- Jamie Strandboge <email address hidden> Wed, 26 Feb 2014 08:37:42 -0600

Changed in evince (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers