Re: End-to-end video podcast production with Kino and FFmpeg
Posted by: Anonymous
[ip: 195.241.240.72]
on March 25, 2008 07:01 PM
Running applications as root is a very bad idea, it is a huge security risk. As much a risk as running everything as an administrator in windows! And above all, it is not even needed.
A good way to deal with this is using udev and group permissions. On my system (gentoo) there is a standard udev rule that assigns the /dev/raw1394 and related devices to the video group. The only thing I have to do as add the user to the video group and every thing works for this user (I have tested this with a video cam).
How does it work? In one of the udev rules files it says:
KERNEL=="raw1394", NAME="%k", GROUP="video"
As soon as udev finds a kernel device named raw1394 the group "video" will be the owner of this devices and everyone in this group has access. You can use "man udev" for more information and will most likely also have information on where you can find the udev rule files on your computer.
Re: End-to-end video podcast production with Kino and FFmpeg
Posted by: Anonymous [ip: 195.241.240.72] on March 25, 2008 07:01 PMA good way to deal with this is using udev and group permissions. On my system (gentoo) there is a standard udev rule that assigns the /dev/raw1394 and related devices to the video group. The only thing I have to do as add the user to the video group and every thing works for this user (I have tested this with a video cam).
How does it work? In one of the udev rules files it says:
KERNEL=="raw1394", NAME="%k", GROUP="video"
As soon as udev finds a kernel device named raw1394 the group "video" will be the owner of this devices and everyone in this group has access. You can use "man udev" for more information and will most likely also have information on where you can find the udev rule files on your computer.
Paul
#