-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolbox: failed to create container: open /dev/vboxusb: permission denied #247
Comments
Hi @zapateo, thanks for the ticket. Did this issue appear after you updated your system? Also you are using classic Fedora Workstation, right? |
Yes, I'm using Fedora Workstation. |
I'm having the same issue. I'm running Fedora 30 Silverblue with virtualbox layered:
Looking at the permissions of
I have no problem entering the existing toolboxes I have, but I can't create any new ones. I also am not sure when this stopped working, I've had several updates since last creating a toolbox. |
I successfully reproduced the issue in a VM. I believe this has to be resolved in VirtualBox itself. The problem seems to be with bind mounting the /dev directory. The vboxusb directory (and the one nested inside) has 750 permission while it should have 755. To temporarily solve this, you can chmod the permissions manually as administrator. But I recommend checking the permissions of the character device called '002' because you don't want bad permissions :). |
toolbox-0.0.11 was the first version where we started bind mounting the entire |
I manually added myself to the $ toolbox create -c mycontainer
Created container: mycontainer
Enter with: toolbox enter --container mycontainer
$ toolbox enter -c mycontainer
⬢[gianluca@toolbox ~]$ but when I run a command using
Not sure if this problem is related to the current issue. Note that System informations
|
@zapateo, is the issue still happening? Recently I had to deal with VirtualBox on Silverblue and |
No, the issue is not happening anymore. Now I can use toolbox without encountering the problem on:
I think that this issue is resolved 🙂 One thing, not sure if related: on both F32 Workstation and F32 Silverblue when I run a command with
but it seems that everything works as expected. |
Great! Thanks for confirming this! The issue you're mentioning should already be resolved (#450). Either re-pull your |
The root cause here might be #1348 |
Duplicate of #1348 |
When I run the command
I get the output:
Running
toolbox
with the-v
option I getThe problem seems to be in line: Error: open /dev/vboxusb: permission denied
System informations
The text was updated successfully, but these errors were encountered: