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

Video recorder stores output as root by default #1257

Open
borbudak-jadbio opened this issue Aug 22, 2022 · 0 comments
Open

Video recorder stores output as root by default #1257

borbudak-jadbio opened this issue Aug 22, 2022 · 0 comments

Comments

@borbudak-jadbio
Copy link

Docker images run as user/group root by default, and so all files created are owned by root. This can lead to problems when non-root users run the image, as they won't have full ownership of the output. For example, they won't be able to delete the output without sudo privileges.

For logs this can be handled by passing the --user flag when starting selenoid. There is no way to do that for the video recorder (at least I haven't found a way).

I propose either:

  • passing the user/group used by selenoid to the video recorder container, or
  • adding an additional flag with arguments which are then forwarded to the video recorder container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants