From b9a0586e3fb86e8a6ceadf3709a92a39ccb7d240 Mon Sep 17 00:00:00 2001 From: Sevan Janiyan Date: Sun, 19 Aug 2018 14:57:39 +0000 Subject: [PATCH] Re-add instructions for USB devfs rules. PR: 224928 Submitted by: madpilot Approved by: bcr Differential Revision: https://reviews.freebsd.org/D16681 --- .../books/handbook/virtualization/chapter.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml b/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml index e7e43d4c95..6efb556e8e 100644 --- a/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml @@ -934,6 +934,22 @@ perm vboxnetctl 0660 &prompt.root; pw groupmod operator -m yourusername + Then, add the following to + /etc/devfs.rules, or create this file if + it does not exist yet: + + [system=10] +add path 'usb/*' mode 0660 group operator + + To load these new rules, add the following to + /etc/rc.conf: + + devfs_system_ruleset="system" + + Then, restart devfs: + + &prompt.root; service devfs restart + Restart the login session and &virtualbox; for these changes to take effect, and create USB filters as