Mike Kazantsev <[email protected]> [09-08-23 16:08]: > On Sun, 23 Aug 2009 10:20:08 +0200 > [email protected] wrote: > > > Is there any chance to start guvcview with user rights AND to give the > > application higer priorities so that whatever guvcview wants from the > > system will be served as soon as possible to avoid stuttering videos? > > You can create a simple script, say, /usr/local/bin/capture and give > permissions to lauch it as root via sudo. > > Script might be one-liner like > > #!/bin/sh > exec nice -n -10 ionice -c 1 capture-command > > and sudo line might look like this: > > user ALL=(root) NOPASSWD: /usr/local/bin/capture > > NOPASSWD here means that you just have to type > 'sudo /usr/local/bin/capture' to run the script as root, no questions > asked. > > -- > Mike Kazantsev // fraggod.net
This will give the whole 'capture-comand# the rights of root, which I want to prevent (see my posting). Instead I want to give it only higher priorities for I/O-usage and CPU-usage. It should still act with user rights for all other puposes. But thank you for your help anyway. Best regards. mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.

