Podman error creating static files directory

I’m trying podman for the first time on an existing F30 desktop. As my normal user, it reports:

✸ podman run -it debian:latest /bin/bash
Error: could not get runtime: error creating runtime static files directory /var/home/aron/.local/share/containers/storage/libpod: mkdir /var/home: permission denied

Is there something obvious I’m missing? It works with sudo, but I thought it should also work in rootless mode.

If you change podman to podman --log-level debug, could you post the full output?

1 Like

Nothing more interesting:

✸ podman --log-level debug run -it debian:latest /bin/bash
ERRO[0000] could not get runtime: error creating runtime static files directory /var/home/aron/.local/share/containers/storage/libpod: mkdir /var/home: permission denied 

but I think I just figured it out. I have previously run Silverblue on this system then reverted to Workstation. The first time I used these commands was on Silverblue, and it populated some config in ~/.config/containers that mentions /var/home/aron

Similarly in ~/.local/share/containers

If I move all that aside, then podman works.

Thanks for the reply, I probably wouldn’t have kept trying without the encouragement :smile:

1 Like