Re: [process priority] Questions about re/nice
On Thu, Dec 22, 2005 at 08:53:58PM +0100, belbo wrote:
> I've already considered this solution, but it doesn't work, because of root
> permissions needed: if I run this command as a normal user, here's the result:
> $ nice -n -20 /usr/local/bin/mplayer
> nice: cannot set priority: Permission denied
> I want to always run the process with maximum priority as normal user.
That would be a security risk (I supposed just of local user causing DOS, but
still). Use sudo for this.