[Bug 444907] Re: PDF files with wrong extension fail to load
Seems to be an intentional security feature. File extensions are restricted by the files /etc/apparmor.d/usr.bin.evince and /etc/apparmor.d/abstractions/evince. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/444907 Title: PDF files with wrong extension fail to load To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/444907/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 444907] Re: PDF files with wrong extension fail to load
Still present in 3.6.1-1ubuntu3 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/444907 Title: PDF files with wrong extension fail to load To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/444907/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 444907] Re: PDF files with wrong extension fail to load
Updated the title as it seems that no matter what I rename the extension of a PDF file as (as long as it's not ".pdf"), Evince will refuse to load it. ** Summary changed: - Files with extension .ashx fail to load + PDF files with wrong extension fail to load -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in ubuntu. https://bugs.launchpad.net/bugs/444907 Title: PDF files with wrong extension fail to load -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 444907] Re: PDF files with wrong extension fail to load
This also occurs with TIFF files or presumably any other file format. Evince seems to be processing files based on file extension rather than magic. I was just very confused by processing files with "gm convert +adjoin $i.pdf $i.tiff" (from within a for loop) and being unable to open the resulting single-page tiffs. After a few seconds I said "oh no, you've got to be kidding me - I hope it's not doing a Windows thing" and ran: export a=0; for i in `ls *.tiff.* | sort -n -t'.' -k 3`; do export a=$((a+1)); mv $i ${i/.tiff.*/.$a.tiff}; done to rename the files from (ex.) foo.tiff.1 to foo.1.tiff I'm on Natty-beta with evince-2.32.0-0ubuntu12 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/444907 Title: PDF files with wrong extension fail to load -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs