Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2481  / 1 Year ago, wed, november 30, 2022, 10:51:13

I am using a separate HDD as a disk for my Virtualbox machine. I have made a vmdk using the tutorial provided in the VirtualBox manual, but in order for the machine to run I have to constantly change the owner and group of the /dev/sdb device to the user I am logged in with.



Time after time permissions get reset back to root:disk, and I'm not certain when exactly that happens. What can I do to change the owner and group permanently or maybe to not have to do it at all?


More From » virtualbox

 Answers
2

The probably simplest and best way to fix the problem is adding your user to disk group.



sudo adduser %user disk


Then logoff and login back, you should able to interact with hard drive from Virtualbox.


[#33681] Thursday, December 1, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
smelrop

Total Points: 263
Total Questions: 122
Total Answers: 108

Location: Saudi Arabia
Member since Thu, Jan 28, 2021
3 Years ago
smelrop questions
Mon, Mar 13, 23, 07:22, 1 Year ago
Sun, Feb 5, 23, 13:02, 1 Year ago
Tue, Aug 31, 21, 00:50, 3 Years ago
Sat, Dec 18, 21, 15:18, 2 Years ago
;