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

Jon Boehm boehm100 at comcast.net
Mon Aug 20 20:10:56 UTC 2007


Hmm,  I'm not getting something.

me at machine:/usr/local/bin$ ls -l dvdplayer-launcher.sh
-rwsr-sr-x 1 root root 1578 2007-08-19 21:02 dvdplayer-launcher.sh

The group and owner are both root and I did a chmod +s on the script. 
Still xine refuses to launch from the myth ui.  Am I misunderstanding 
something fundamental?

Thanks,
Jon


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
> 


More information about the mythtv-users mailing list