Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 07/11/2016 00:57, Tommaso Cucinotta wrote: if I run: lyxwrap rm /home/tommaso/whatever it says "Permission denied" :-)! So, the idea is to wrap execution of any external converter/plotter/etc., so that they can only write into the /tmp/ folder, except for the case of exporting to .pdf, .

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 13:42:51, schrieb Tommaso Cucinotta > On 07/11/2016 00:57, Tommaso Cucinotta wrote: > > if I run: > > > > lyxwrap rm /home/tommaso/whatever > > > > it says "Permission denied" :-)! > > So, the idea is to wrap execution of any external converter/plotter/etc., >

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 14:37:02, schrieb Kornel Benko > Am Sonntag, 13. November 2016 um 13:42:51, schrieb Tommaso Cucinotta > > > On 07/11/2016 00:57, Tommaso Cucinotta wrote: > > > if I run: > > > > > > lyxwrap rm /home/tommaso/whatever > > > > > > it says "Permission denied" :-)!

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 13/11/2016 14:40, Kornel Benko wrote: lyxwrap rm /home/tommaso/whatever it says "Permission denied" :-)! So, the idea is to wrap execution of any external converter/plotter/etc., so that they can only write into the /tmp/ folder, except for the case of exporting to .pdf, .tex, etc. The

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 14:51:51, schrieb Tommaso Cucinotta > On 13/11/2016 14:40, Kornel Benko wrote: > lyxwrap rm /home/tommaso/whatever > > it says "Permission denied" :-)! > So, the idea is to wrap execution of any external > converter/plotter/etc., so tha

suggestion about local layouts

2016-11-13 Thread edu Gpl
Dear lyx team thank you for all suggestion: i have a group of local layout, and its occupies a larg list. Why? because lyx let me past the local layout in the same place, and after some time i get over than 100 line of code. So, i hope you make local layout mechanism like this: 1- when i want to

Re: [patch] Theorem environment: set NextNoIndent to 0

2016-11-13 Thread Guenter Milde
On 2016-11-11, Scott Kostyshak wrote: > [-- Type: text/plain, Encoding: --] > The attached patch fixes the display of the attached .lyx file. When > compiled, the .lyx file indents the first line of the environment > following the Theorem environment. But LyX shows the line as not > indented. >

Re: suggestion about local layouts

2016-11-13 Thread Richard Heck
On 11/13/2016 11:09 AM, edu Gpl wrote: > Dear lyx team > thank you for all > > suggestion: > i have a group of local layout, and its occupies a larg list. > Why? because lyx let me past the local layout in the same place, and > after some time i get over than 100 line of code. > So, i hope you make

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 13/11/2016 20:44, Tommaso Cucinotta wrote: looks suspicious... pls, make a happy case test! (perhaps everything is failing as opposed to only what should fail?) also, to ensure to trigger the converters, you need to wipe ~/.lyx-XXX/cache/* (guess you know already, but just in case...). Th

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 20:47:58, schrieb Tommaso Cucinotta > On 13/11/2016 20:44, Tommaso Cucinotta wrote: > > looks suspicious... pls, make a happy case test! (perhaps everything is > > failing as opposed to only what should fail?) You are right. Through the script we try to run "lyx

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 13/11/2016 22:33, Kornel Benko wrote: You are right. Through the script we try to run "lyxwrap2.3", and this command does not exist in my case. I could not find lyxwrap.cpp, therefore I can not create this command. slipped out of the commits, sorry about that! Now it's in my repo, or just

Hardening LyX for Linux, Mac and Windows? (was: Re: Apparmor profile for LyX on Linux ?)

2016-11-13 Thread Tommaso Cucinotta
On 13/11/2016 15:10, Kornel Benko wrote: Yes, creating the cmake changes for unix(linux) like platforms. Don't know, what to do for windows or MAC. From a lightning fast investigation, it seems that Mac OS-X has an "App Sandbox" feature that can be used for the purpose, nor sure whether the s

Re: Hardening LyX for Linux, Mac and Windows?

2016-11-13 Thread Tommaso Cucinotta
On 13/11/2016 22:50, Tommaso Cucinotta wrote: On 13/11/2016 15:10, Kornel Benko wrote: Yes, creating the cmake changes for unix(linux) like platforms. Don't know, what to do for windows or MAC. From a lightning fast investigation, it seems that Mac OS-X has an "App Sandbox" feature that can

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 22:40:59, schrieb Tommaso Cucinotta > On 13/11/2016 22:33, Kornel Benko wrote: > > You are right. Through the script we try to run "lyxwrap2.3", and this > > command does not exist in my case. > > > > I could not find lyxwrap.cpp, therefore I can not create this

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
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

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Sonntag, 13. November 2016 um 23:45:20, schrieb Tommaso Cucinotta > 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. > > firs

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 14/11/2016 00:01, Kornel Benko wrote: 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 Created. (Is here a typo? Shouldn't it be usr/local/bin/lyxwrap2.3 ?) 1st one should have f

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Montag, 14. November 2016 um 00:15:04, schrieb Tommaso Cucinotta > On 14/11/2016 00:01, Kornel Benko wrote: > >> 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 creat

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Tommaso Cucinotta
On 14/11/2016 00:32, Kornel Benko wrote: (I had to rename it, because /usr/local is symbolic link to /usr9/local) Also the file name is now usr9.local.bin.lyxwrap2.3 and the content has 'usr9' too. yeah, that's the issue then... but still the /tmp/ssh.tar.gz is created. But now #/usr

Re: Apparmor profile for LyX on Linux ?

2016-11-13 Thread Kornel Benko
Am Montag, 14. November 2016 um 00:44:56, schrieb Tommaso Cucinotta > On 14/11/2016 00:32, Kornel Benko wrote: > > (I had to rename it, because /usr/local is symbolic link to /usr9/local) > > Also the file name is now usr9.local.bin.lyxwrap2.3 and the content has > > 'usr9' too. > > yeah, that'

Re: [LyX/master] Fix usage of multiple varieties of the same polyglossia language.

2016-11-13 Thread Scott Kostyshak
On Wed, Nov 02, 2016 at 05:14:20PM +0100, Juergen Spitzmueller wrote: > commit 3374b8548b2807def95904d81746fd027e06ebf4 > Author: Juergen Spitzmueller > Date: Wed Nov 2 17:07:49 2016 +0100 > > Fix usage of multiple varieties of the same polyglossia language. > > 1. We must always o

ctests: how to classify 2 failing Arabic tests

2016-11-13 Thread Scott Kostyshak
After 0872bb78, the only failing tests of the recently committed doc/ar/Intro.lyx and doc/ar/Shortcuts.lyx are: export/doc/ar/Intro_pdf4_texF (Failed) export/doc/ar/Shortcuts_pdf4_texF (Failed) Note that the two documents are set to use non-TeX fonts. In such a case, should we still test TeX