Goglides Dev 🌱

Balkrishna Pandey
Balkrishna Pandey

Posted on

podman info, error creating tmpdir: mkdir /run/user/1007: permission denied

I recently encountered a very strange issue when I tried to run the simple command podman info without root. Normally, in Linux, this error can occur when the user does not have permission to create a folder.

$ podman info

Error: error creating tmpdir: mkdir /run/user/1007: permission denied
Enter fullscreen mode Exit fullscreen mode

But the command was running without issue prior to this. Not sure what exactly triggered this.

After googling around for sometimes found this github ticket, which is suggesting to run this command,

loginctl enable-linger my_ci_user
Enter fullscreen mode Exit fullscreen mode

Somehow magically this command fixes the issue.

Top comments (0)