Skip to content

Commit 91bca65

Browse files
committed
Fix video permission issue
1 parent 5b1b786 commit 91bca65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ RUN useradd trickfire \
4242
# Give it a directory in /home
4343
--create-home \
4444
# Don't make a giant log file for login data, we don't care about it
45-
--no-log-init
45+
--no-log-init \
46+
# Allow the user to access video cameras.
47+
-G video
4648

4749
# Copy all the bash customizations over to the user.
4850
COPY .devcontainer/trickfire.bashrc /home/trickfire/.bashrc

0 commit comments

Comments
 (0)