Skip to content

Commit

Permalink
Avoid hardcoding user "user"
Browse files Browse the repository at this point in the history
The default user may not be named "user", but will always be in group
"qubes".
  • Loading branch information
DemiMarie committed Aug 19, 2023
1 parent a072218 commit d6b5c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ sudo modprobe v4l2loopback card_label="Qubes Video Companion" exclusive_caps=1
# For some reason, AppVMs based off my self-made "kali" qube (which itself is based off the "debian-10" TemplateVM) that are using the 5.x Qubes Linux kernel no longer has the user permitting ACL (or any ACL for that matter) on /dev/video* devices causing a permission error when attempting to write video to the device
# As a workaround, we set the ACL ourselves in case it isn't already applied
# This issue does not occur on the Fedora or Debian AppVMs using the 5.x Qubes Linux kernel, more research is required
sudo setfacl -m user:user:rw /dev/video0
sudo setfacl -m qubes:group:rw /dev/video0

0 comments on commit d6b5c77

Please sign in to comment.