On Wed, 2016-08-31 at 13:28 +0200, Samuel Thibault wrote: > Svante Signell, on Wed 31 Aug 2016 13:24:34 +0200, wrote: > > > > > > > > Re-read your test again: it requests nice -19, i.e. something which is > > > reserved to root. No wonder you are getting a permission denied. > > Explain please, I get the same output also for running as root: > > check_setpriority: can't set priority: Permission denied > Then there is probably also a bug about not letting root do it. But > that's *another* bug.
Which is the original bug then? Doing some more tests the priority can be set to a number>=0, but not negative, irrespective of being root or not...