89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.86k stars 404 forks source link

OCI: Permission Denied, again (And solution) #1122

Closed Bubbelb closed 8 months ago

Bubbelb commented 9 months ago

Description Error when entering a (alpine) container, with an "OCI: Permission Denied"

Issue found and worked around (read further).

To Reproduce

On an Archlinux (Manjaro) computer:

Expected behavior A normal container start.

Workaround

Desktop (please complete the following information):

Additional context This uid/gid being off was a result of a test I did a while ago and never thought about it. It is definitely not a normal configuration. I assume the problem lies in an assumption in the code that uid=gid, always. I'm dot a programmer, so I cannot pinpoint where the problem exactly is (even if it's in Distrobox, or in Podman for that matter). Maybe the easiest thing to do is warn the user of this problem and how to fix it, using the workaround...

Hope this all helps :)

89luca89 commented 8 months ago

Thanks for the report @Bubbelb :smile:

Maybe I'll add this to some docs, just in case, I'll convert this to a discussion so that in future people will be able to find it