On 13/11/2016 23:34, Kornel Benko wrote:
The file /etc/apparmor.d/usr.local.bin.lyx2.3 is attached, I don't see anything wrong. I have to confess, this is new to me, so I may have gotten something wrong.
first guess would be: make sure you installed with "make install" and you're running LyX from your installed path, and that it's using your wrapper in /usr/local/bin. The AppArmor test is quite straightforward: /usr/local/bin/lyxwrap-2.3 touch ~/something /usr/local/bin/lyxwrap-2.3 touch /tmp/whatever check if created /usr/local/bin/lyxwrap-2.3 rm ~/something /usr/local/bin/lyxwrap-2.3 rm /tmp/whatever check if removed. Also, this might be useful to troubleshoot: dmesg | grep 'DENIED\|apparmor' (but that's mostly useful when it stops you when you don't expect to be stopped) T.