https://bugs.kde.org/show_bug.cgi?id=513562

Roger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Roger <[email protected]> ---
Thanks for your bug report, I had the same issue and it lead me to the
solution.

The actual issue is an Ubuntu decision to restrict gs using apparmor because of
its many recent security issues.
GS is denied access to files outside the users home directory.

You can solve it by either mounting the share into your home dir, or by
changing the apparmor profile:

Start by editing /etc/apparmor.d/gs

Add these lines:

  # Allow read/write on your external mount
  /media/path/** rw,

I guess r alone for read access would be enough, but I use gs often and also
need the write access.

Afterwards run

   sudo apparmor_parser -r /etc/apparmor.d/gs


Regarding KDE: Ghostscript is capable yes, but also Ubuntu has good reasoning
for their decision. Maybe in the long term it would be advisable to change the
PDF preview engine. E.g. to poppler as used by Okular.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to