Skip to content

Permission errors when running in rootless mode #6880

Description

@mariusor

Issue Description

With latest podman release on an archlinux CI runner I keep getting permission denied errors on various files/directories. (see podman info example below)

I don't think this is a packaging error as the changes in the PKGBUILD from v1.43 -> v1.44 contains just the version update and associated metadata.

Steps to reproduce the issue

Steps to reproduce the issue

  1. on a fresh archlinux CI image from builds.sr.ht
  2. install buildah
  3. run podman info

Describe the results you received

Permission errors.

Describe the results you expected

Successful command execution.

buildah version output

$ buildah version
Version:         1.44.0
Go Version:      go1.26.3-X:nodwarf5
Image Spec:      1.1.1
Runtime Spec:    1.3.0
image Version:   5.40.0
Git Commit:      30a4189415e5d0a3a0c5971307a6432d8ed1a097
Built:           Thu May 28 08:33:02 2026
OS/Arch:         linux/amd64
BuildPlatform:   linux/amd64

buildah info output

$ buildah info
Error: open /var/lib/containers/storage/overlay-containers/volatile-containers.json: permission denied
WARN[0000] failed to shutdown storage: "open /var/lib/containers/storage/overlay-containers/volatile-containers.json: permission denied" 
$ ls -lF /var/lib/containers/storage/overlay-containers/volatile-containers.json
-rw------- 1 root root 1825 May 29 10:14 /var/lib/containers/storage/overlay-containers/volatile-containers.json

Provide your storage.conf

# $ grep -v "^#" /etc/containers/storage.conf 
[storage]
driver = "overlay"
runroot = "/run/containers/storage"
graphroot = "/var/lib/containers/storage"
[storage.options]
additionalimagestores = [
]
[storage.options.pull_options]
[storage.options.overlay]
mountopt = "nodev"

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions