Re: file permissions for a video device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never mind, it worked after adding the following entry into ueventd.rc.

#camera
/dev/video*               0660   system     camera

On Mon, Jul 13, 2015 at 8:51 PM, karthik poduval
<karthik.poduval@xxxxxxxxx> wrote:
> Hi All,
>
> I was working with a USB camera. As soon as I plug it into the host,
> it probes and video device node gets created with the following
> permission.
> # ll /dev/video0
> crw------- root     root      81,   0 2015-07-13 20:39 video0
>
>
> However it grants permissions to only a root user. I need to be able
> to access this device node from a daemon (running in a non root user
> account).
>
> I can ofcourse chmod the devnode, but was wondering if there is a way
> this can be done from the kernel itself ? Is there some place in the
> uvc code which sets the created the devnode file permissions ?
>
> --
> Regards,
> Karthik Poduval



-- 
Regards,
Karthik Poduval
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux