Skip to content

Add fall-through ownership rules for v4l nodes

Jordan Yelloz requested to merge jyelloz/mdev-conf:v4l-fixes into master

It looks like the > operator in the mdev.conf doesn't work as I would expect. I was trying to use a v4l device from the path /dev/video* as a non-root user in the video group but it failed because the owner was root:root even though the existing configuration sets root:video. It turns out that rule actually only has an effect on the copy it creates at /dev/v4l/video*.

This change adds some fall-through rules for the common v4l device nodes so that the original node's ownership/permissions are set in addition to the copy created in /dev/v4l.

Also, I added corresponding rules for the /dev/media* nodes.

Merge request reports

Loading