Bug 2568641

Summary: podman throws error creating runtime static files directory with permission denied
Product: [Fedora] Fedora Reporter: Eric L. <ewl+redhat>
Component: containers-commonAssignee: Jan Kaluža <jkaluza>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 45CC: bbaude, dwalsh, jkaluza, jnovy, nicola.sella, pholzing, robert, rruzicka, vmiticka
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-09 11:49:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric L. 2026-11-07 14:35:42 UTC
I've just upgraded to Fedora 45 (from 44) and get the following error with any _rootless_ podman command I've used so far (run, info, stats):

```
Error: creating runtime static files directory "/var/lib/containers/storage/libpod": mkdir /var/lib/containers/storage/libpod: permission denied
```

Reproducible: Always

Steps to Reproduce:
1. update to F45
2. run any podman command, e.g. `podman info`, as non-root
Actual Results:
Rootless podman fails.

Expected Results:
Rootless podman works.

Additional Information:
After having commented out the line `graphroot = "/var/lib/containers/storage"` in the `[storage]` section from `/etc/containers/storage.conf`, which I assume to be the default, the problem disappears.

I can't swear that it worked just before I upgraded but it used to work with F44.

Comment 1 Robert Marcano 2026-11-08 02:19:17 UTC
It looks like the problem is that there is no default in `/etc/container/storage.conf` for `rootless_storage_path`, It is commented out:

# rootless_storage_path = "$HOME/.local/share/containers/storage"

A good workaround it so create the `$HOME/.config/containers/storage.conf` it if does not exists and add:

[storage]
rootless_storage_path = "$HOME/.local/share/containers/storage"

Comment 2 Paul Holzinger 2026-11-09 11:49:57 UTC
Dup of 2537131, see https://bugzilla.redhat.com/show_bug.cgi?id=2537131#c13

*** This bug has been marked as a duplicate of bug 2537131 ***