richielky
Cadet
Cadet
  • 115 Views

Skopeo Permission on /run Directory

Any reason why skopeo login require /run to be permission?

What permission needed by skopeo to create container folder chmod 777?

Error of skopeo login to registry.redhat.io using # skopeo login registry.redhat.io

FATA[0011] mkdir /run/containers: permission denied

Labels (1)
Tags (1)
0 Kudos
2 Replies
flozano
Moderator
Moderator
  • 92 Views

Re: Skopeo Permission on /run Directory

Tools such as skopeo use the /run folder to store transient, user-specific data. Every user should get a personal folder, named after their uid, automatically and you shouldn't try to "fix" that using chmod commands. If you do see errors now, they are probably related to some previous change in these folders.

To see which folder belongs to your user:

echo $XDG_RUNTIME_DIR

Another possibility: f you are using RHEL older than 8.2, some container tools will not work as expected in rootless mode.

0 Kudos
Reply
Loading...
richielky
Cadet
Cadet
  • 67 Views

Re: Skopeo Permission on /run Directory

Thank for the explanation.

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.