Hi, On Fri, Dec 01, 2017 at 03:29:44PM +0100, Frederic Peters wrote: > $ strace ... libreoffice /path/to/file.pdf > [pid 28359] execve("/usr/lib/libreoffice/program/../program/xpdfimport", > ["/usr/lib/libreoffice/program/../"..., "/tmp/Cghm7K", > "/usr/lib/libreoffice/program/../"...], 0x5632a0246780 /* 71 vars */) = -1 > EACCES (Permission denied) > > And libreoffice stops with a "General input/output error" dialog box.
Hmm. the soffice.bin profile has: https://cgit.freedesktop.org/libreoffice/core/tree/sysui/desktop/apparmor/program.soffice.bin#n126: INSTDIR-program/xpdfimport px, so that should do it unless it gets confused by the ../program/xpdfimport... > It worked after changing the apparmor policy to complain, So you activated the disabled profile in the first place before? :) > $ sudo aa-complain /etc/apparmor.d/usr.lib.libreoffice.program.* But good to know, https://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/commit/?h=debian-experimental-5.4&id=722c77ba929ae5dee90ca9070a98b294de8ad61f has complain for soffice.bin and oosplash. I'd believe those two in complain should fix it, if xpdfimport gets called that would be the .xpdfimport profile.. Regards, Rene