[GH-ISSUE #1991] webcam works in Firefox although --private-dev was set #1343

Closed
opened 2026-05-05 07:54:17 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @akhal3d96 on GitHub (Jun 12, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1991

In issue #745 --private-dev was supposed to disable webcam but it works normally as if it wasn't set

Originally created by @akhal3d96 on GitHub (Jun 12, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1991 In issue #745 `--private-dev` was supposed to disable webcam but it works normally as if it wasn't set
gitea-mirror 2026-05-05 07:54:17 -06:00
Author
Owner

@chiraag-nataraj commented on GitHub (Jun 12, 2018):

This is actually true of guvcview as well. I wonder if it's because it's calling to an outside library (libv4l{1,2}) rather than enumerating the devices itself?

<!-- gh-comment-id:396564889 --> @chiraag-nataraj commented on GitHub (Jun 12, 2018): This is actually true of `guvcview` as well. I wonder if it's because it's calling to an outside library (`libv4l{1,2}`) rather than enumerating the devices itself?
Author
Owner

@chiraag-nataraj commented on GitHub (Jun 12, 2018):

Oh wait.../dev/video0 is whitelisted in private-dev. Add novideo in the profile (or --novideo on the commandline) to disable the video devices.

<!-- gh-comment-id:396565371 --> @chiraag-nataraj commented on GitHub (Jun 12, 2018): Oh wait...`/dev/video0` is whitelisted in `private-dev`. Add `novideo` in the profile (or `--novideo` on the commandline) to disable the video devices.
Author
Owner

@Fred-Barclay commented on GitHub (Jun 12, 2018):

Just to add to @chiraag-nataraj ...
private-dev did originally block video devices. They were allowed in 328d523ed62dfcdb205580ce7c126813b592cb7, and the option to block them with novideo added in https://github.com/netblue30/firejail/pull/1296.

<!-- gh-comment-id:396642437 --> @Fred-Barclay commented on GitHub (Jun 12, 2018): Just to add to @chiraag-nataraj ... `private-dev` did originally block video devices. They were allowed in 328d523ed62dfcdb205580ce7c126813b592cb7, and the option to block them with `novideo` added in https://github.com/netblue30/firejail/pull/1296.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1343
No description provided.