GNOME Bugzilla – Bug 735267
Cannot open files without or wrong extension
Last modified: 2014-08-27 18:36:01 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.
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 ***
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?
I use Elementray OS Luna based on Ubuntu 12.04LTS.
Ben, most probably this is a apparmor issue. Could you check if disabling app armor fixes your issue?
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.
(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.