-
Notifications
You must be signed in to change notification settings - Fork 438
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
[Error] Permission denied: OCI permission denied #904
Comments
Stuck with the same issue here, and on multiple distros too. I've tested on Fedora 38, Debian 12, and Ubuntu 23.04. I've been sharing a home folder between some distros for a while and sometimes a permission issue crops up. So I rename my containers folder and make a new one, same issue. I run "podman system reset". Same issue. I completely purge podman and distrobox and clear out all configs, same issue. I saw someone say to chmod the home folder to permission 701, but that didn't fix it either. Also tried installing directly with the alternative installation method so I can get the latest version and its still not working. I can't really think of anything else I can do to fix this. |
Also, here's my distrobox log when I tried to enter my distrobox with the --verbose flag. While I was digging through the log, I noticed that I get a 'failed to write to /proc/self/oom_score_adj: Permission denied' error, which looks like it might be the culprit. |
This seems related to your podman setup, not to distrobox
If this doesn't work then there is a problem with your podman setup |
Fails for me:
This is what
|
I'm not sure about the podman setup, I'd contact your distro package maintainer for that, |
I'm also having this issue on openSUSE Tumbleweed. In my case, it seems to be a compatibility error with Oracle VirtualBox.
|
Hi. Some users on reddit report that giving permissions to every one of this folders work. It worked for me too. You have to give permissions to every folder that is appearing until the run command launches
And so on. |
Like @racalle's comment, I had to do
to start a Ubuntu 24.04 container on my Arch system. |
I found the solution (without changing permissions on
Once I did that, the errors ceased and I was able to create and run containers. |
F'g THANK YOU!!! Been banging my head on this for 2 hours until i tried your fix. |
Please, before opening a bug:
Describe the bug
Anytime I want to run a container, I get 'Permission denied: OCI permission denied`
To Reproduce
distrobox create --name test --image archlinux:latest
)distrobox enter test
)Expected behavior
Expected to enter the container
Logs
Run the commands with
--verbose
and post the log here as a file uploadAttach also the output of
podman logs
ordocker logs
, possibly with--latest
flagdistrobox-log.txt
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: