Hi,

I run the recordserver from init.d (i.e. as root).

I have set the _UID and _GID option.

However now recordserver (in fact mencoder spawned from recordserver) can
no longer open /dev/video0.

this file has rw for owner root and rw for group video.

However after the sudo performed by recordserver his id is

<UID> as set and group <GID> and belongs to groups <ROOT> (result was given
by the command 'id' after the sudo of recordserver).

This is not good as <UID> belongs to the group video and should have access 
(in fact HAS access because mencoder can open the file when logged in as UID)

SO I think 'sudo -' should be used instead of sudo ? If not what can I do to 
make recordserver belong to the video group after sudo ?

Thnx

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to