After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735267 - Cannot open files without or wrong extension
Cannot open files without or wrong extension
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-23 06:17 UTC by Ben Aceler
Modified: 2014-08-27 18:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ben Aceler 2014-08-23 06:17:13 UTC
Evince cannot open valid PDF file, if the file have no extension, or the extension is not PDF with "permission denied" error. Renaming the file helps.

Step to reproduce:
1. Open a valid PDF file in Evince to check it's validity.
2. Close Evince.
3. Rename the file from file.pdf to file or file.p
4. Open it with Evince again

Expected result:
File opened as in step 1.

Actual result:
"Permission denied" error.
Comment 1 Germán Poo-Caamaño 2014-08-23 06:36:28 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 661936 ***
Comment 2 José Aliste 2014-08-26 18:33:37 UTC
This is not a duplicate of 661936, which is a windows error and has a different Actual Result: Here the problem is some permission problem. Ben, which operating system are you using?
Comment 3 Ben Aceler 2014-08-26 22:12:28 UTC
I use Elementray OS Luna based on Ubuntu 12.04LTS.
Comment 4 José Aliste 2014-08-26 22:30:48 UTC
Ben, most probably this is a apparmor issue. Could you check if disabling app armor fixes your issue?
Comment 5 Ben Aceler 2014-08-27 07:54:11 UTC
Yes, this is an AppArmor.

[388049.433597] type=1400 audit(1409125860.011:192): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name=2F6D6E742F6469736B2F6163656C65722FD097D0B0D0B3D180D183D0B7D0BAD0B82F7461725F676D2E7066 pid=2716 comm="EvJobScheduler" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

After I "teardroped" profiles, evince begin to work.

So this bug must be pointed to maintainers.
Comment 6 Germán Poo-Caamaño 2014-08-27 18:36:01 UTC
(In reply to comment #2)
> This is not a duplicate of 661936, which is a windows error and has a different
> Actual Result: Here the problem is some permission problem. Ben, which
> operating system are you using?

Error on taking the bug number, it meant to be Bug 664297

Nevertheless, it does not matter anymore.