commit 2a262eb11b71986d7cc1e44e389ec18f881c7253
parent 200e8020b34d4a2881d56a6c17c7ed653f43eb8b
Author: Peter Shkenev <santurysim@gmail.com>
Date: Tue, 10 Oct 2023 16:14:25 +0300
Add rules for VirtualBox devices
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/mdev.conf b/mdev.conf
@@ -140,5 +140,12 @@ rd/(.*) root:disk 0660 =rd/%1
nst[0-9]+.* root:tape 0660
st[0-9]+.* root:tape 0660
+# VirtualBox devices
+vboxguest root:root 0600
+vboxuser root:root 0666
+vboxdrv root:root 0600
+vboxdrvu root:root 0666
+vboxnetctl root:root 0600
+
# fallback for any!device -> any/device
(.*)!(.*) root:root 0660 =%1/%2