John McCabe-Dansted wrote: > 2009/6/16 Pavel Sanda <[email protected]>: > > ok i just added it. also tried to assimilate to the new directory structure, > > please review my patches and send your changes to the code. > > > > my idea was that "make keystest" should work for devs out of the box. > > I was thinking that it would be best to run it under xnest so that a > VM is not required. However there still is the issue of protecting the > user from LyX's random actions. > 1) The simplest way is to "sudo -u nobody" the test. However this > requires sudo privileges and willingness to use them. Also I am not > sure how well an interactive sudo prompt would would with make. > 2) Plash (plash.beasts.org), Systrace or plasticfs could be used, but > these are not in the (Ubuntu) repos. > 3) One could also change $HOME and hope for the best, but I wouldn't > trust this. > > Any opinions on these.
to use 3 is potentialy dangerous, although its unprobable lyx is able to to run any external command via lfun or edit any file on your $HOME ;) either your VM or create new user under your system and everything runs there. pavel
