User cannot set process priority nice --10 despite changes in limits.conf
On 17 April 2011 11:21, Sebastian Tarach <firstname.lastname@example.org> wrote:
> I'm trying to allow user hlds to be able to start game server daemon with
> higher priority. Even though I've added fallowing line in
> hlds - nice -20
> I'm still getting
> starach@debian:/> nice --5 cat logfile
> nice: cannot set niceness: Permission denied
> What could I have done wrong?
Doesn't look to me like you're running the command as the user you
specified in limits.conf.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
Archive: BANLkTim570oOHX04LbL_QFSsX2wHEHtTdg@mail.gmail.com ">http://lists.debian.org/BANLkTim570oOHX04LbL_QFSsX2wHEHtTdg@mail.gmail.com