[mythtv-users] sudo nice --5 xine Permissions?

David Brodbeck gull at gull.us
Mon Aug 20 19:59:54 UTC 2007

On Aug 20, 2007, at 12:45 PM, Joe Ripley wrote:

> On 8/20/07, Jon Boehm <boehm100 at comcast.net> wrote:
>> So I want to try increasing its run time priority.  I have a script,
>> dvd.sh, that  kicks off xine in the DVD Player field of Myth.  The  
>> OS is
>> punting because of the "sudo nice --5."  How do I tell the OS that
>> anyone can run dvd.sh and they don't need to be root to do this.
> Try setting the setuid bit on the script.
> (http://en.wikipedia.org/wiki/Setuid).
> chown root.root dvd.sh
> chmod 4755 dvd.sh

I don't think setuid scripts work under Linux.  I think you need a  
wrapper written in some other language.  I could be wrong, though.

More information about the mythtv-users mailing list