"Open containing folder" does not work with Nemo (Cinnamon desktop)

Bug #1602662 reported by Mikko Rantalainen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Cinnamon uses "Nemo" /usr/bin/nemo as the file browser and default apparmor config is too strict and prevents "Open Containing Folder" feature from working and instead an error message will appear:

Failed to execute child process "nemo" (Permission denied)"

A simple fix would be to add line

  /usr/bin/nemo Cx -> sanitized_helper, # Cinnamon

below the line

  /usr/bin/thunar Cx -> sanitized_helper, # XFCE

in file /etc/apparmor.d/usr.bin.evince

See also: bug 1022962

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: evince-common 3.18.2-1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-24.43-lowlatency 4.4.10
Uname: Linux 4.4.0-24-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Wed Jul 13 15:27:14 2016
InstallationDate: Installed on 2015-02-23 (506 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
SourcePackage: evince
UpgradeStatus: Upgraded to xenial on 2016-06-10 (33 days ago)
mtime.conffile..etc.apparmor.d.usr.bin.evince: 2016-07-13T15:26:08.817770

Revision history for this message
Mikko Rantalainen (mira) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "modified.conffile..etc.apparmor.d.usr.bin.evince.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. I'm subscribing the security team to get input on that, it seems unpractical to have to maintain a list of possible filemanager in the profile, unsure if there is a better way though...

Changed in evince (Ubuntu):
importance: Undecided → Low
Revision history for this message
Mikko Rantalainen (mira) wrote : Re: [Bug 1602662] Re: "Open containing folder" does not work with Nemo (Cinnamon desktop)

Yeah, I think you should just hardcode xdg-open and then list only that.
Current implementation seems to be execute whatever is in the config and
that cannot be set in apparmor config.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evince (Ubuntu):
status: New → Confirmed
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.