Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add permissions on HV transcoding devices in docker container #2868

Merged
merged 3 commits into from Sep 7, 2023

Conversation

m-larin
Copy link
Contributor

@m-larin m-larin commented Aug 25, 2023

Gerbera start in docker from unpermitted user. When call ffmpeg with HW transcoding options rase error about the unavailability of the device. This commit fixes the error.

@KarlStraussberger
Copy link
Member

Thanks for that!

I'm not sure whether this end up being a security issue, because you can use the container to bypass more restrictive permissions on the host system.

@KarlStraussberger
Copy link
Member

Instead we might add gerbera user to the group with access to the devices.

@m-larin
Copy link
Contributor Author

m-larin commented Sep 7, 2023

Redone according to your comments. Now the gerbera user is added to the video group, and this group is given rights to the device video

@KarlStraussberger
Copy link
Member

Thank you for your contribution.

@KarlStraussberger KarlStraussberger enabled auto-merge (rebase) September 7, 2023 13:03
@KarlStraussberger KarlStraussberger merged commit ff72186 into gerbera:master Sep 7, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants