Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
937 views
in Technique[技术] by (71.8m points)

permissions - How do I give Virtual Box root access without running it in root in Arch Linux?

I use Arch Linux with KDE Plasma 5 and have installed Virtual Box. I have a 128GB SSD where I keep my native operating system, and 1TB HHD where I want to keep my guest operating systems. I needed to give it root permissions to give it access to my partitions on my HHD, but I don't want to have to run sudo virtualbox every time.

To try to work around this, I created a folder in my home directory where I would mount that partition, so I don't have to run it in root every time. But I couldn't do that, as it didn't actually store in my partition, so I created a folder in my partition and made that the default for Virtual Box, but I needed root permission for that, with the error message of:

Cannot create the machine folder e in the parent folder /home/magnum/VBox Mount Points/Actual VMs/VirtualBox VMs.
Please check that the parent really exists and that you have permission to create the machine folder.

I don't really know what to do.

question from:https://stackoverflow.com/questions/65866970/how-do-i-give-virtual-box-root-access-without-running-it-in-root-in-arch-linux

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...