Hide Forgot
Description of problem: Evince does not open containing folder if file from URI is loaded. Nautilus is started and then abruptly closed. "Do not have a permission to access requested location" message appears for a while. Version-Release number of selected component (if applicable): evince-3.28.4-8.el8.x86_64 nautilus-3.28.1-15.el8.x86_64 How reproducible: always Steps to Reproduce: 1. Start evince and load some pdf from URI (e.g.: evince http://www.farnell.com/datasheets/2819352.pdf) 2. Click "file options"-> "Open containing folder" Actual results: Nautilus is started, but then abruptly closes. "Do not have a permission to access requested location" message appears for a while. Expected results: Containing folder is opened by Nautilus. Additional info:
That is probably issue of given wrong file permission. If I save pdf file to /tmp dir, evince gives 600 permission. According to our test suite it should have 644, which is default permission according to our testcase (tested with gedit).
The issue is that it tries to open the original URI but it is a http:// URI so it fails. I've created a merge request which uses the tmp directory where the downloaded document is instead. See https://gitlab.gnome.org/GNOME/evince/-/merge_requests/312. I'll wait few days whether upstream will accept it and devel_ack+ it then.
Verified with evince-3.28.4-12 & nautilus-3.28.1-15.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (evince bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4155