Post by Chuck
I have a PDF with image links within that point to images stored in the
same folder as the PDF. Works fine on Win, but when opened in 18.04
using "Document Viewer", when I try and click on any of the images, I
get "Failed to execute child process “shotwell” (Permission denied)".
How do I get around this? Thanks.
And just for the record, what tool generated this PDF ?
Did you print from Firefox ? Did you use a website whacker
that converts an HTML tree into a series of PDF pages ?
(Microsoft uses a FOSS tool that does this, when it
removes portions of its document tree.)
PDF stands for Portable Document Format. This means,
to a certain extent, the multimedia content should
be carried on board in a static fashion. Want to play
a movie in a PDF ? Fine. Embed a stream object in a
format that all PDF players are required to support.
It's not a good idea to hyperlink all the JPG files
in a document, to some folder on the / somewhere on the
machine. That's bad design. The JPG files at least,
should all be inside the document, to make it *portable*.
Send a single PDF file to a friend ? They can read it,
without having the / examined for missing JPG files.
It is acceptable, to have http:// links embedded in the
PDF, and those will cause the web browser to open. Then,
have a preference in the PDF viewer, to be able to disable
those hyperlinks so they are not armed. For untrusted PDF
and any other hyperlinking, to be *disabled*. Adobe made
a huge huge attack surface, and it's up to us to tamp
it down a bit.
And that's what the AppArmor appears to be doing.