Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

oci-image-tool create failed during symlink copy #219

Description

@zokrezyl
->skopeo copy docker://saschagrunert/crio-playground oci:crio-playground:latest
->mkdir crio-playground-bundle ->oci-image-tool create --ref name=latest crio
->playground crio-playground-bundle

I get the following error

symlink thawte_Primary_Root_CA.pem crio-playground-bundle/rootfs/var/lib/ca-certificates/openssl/00673b5b.0: permission denied
unpack: error extracting layer
github.com/opencontainers/image-tools/image.unpackManifest.func2
        /build/go/src/github.com/opencontainers/image-tools/image/manifest.go:110
github.com/opencontainers/image-tools/image.(*pathWalker).find
        /build/go/src/github.com/opencontainers/image-tools/image/walker.go:242
github.com/opencontainers/image-tools/image.unpackManifest
        /build/go/src/github.com/opencontainers/image-tools/image/manifest.go:108
github.com/opencontainers/image-tools/image.createBundle
        /build/go/src/github.com/opencontainers/image-tools/image/image.go:338
github.com/opencontainers/image-tools/image.createRuntimeBundle
        /build/go/src/github.com/opencontainers/image-tools/image/image.go:289
github.com/opencontainers/image-tools/image.CreateRuntimeBundleLayout
        /build/go/src/github.com/opencontainers/image-tools/image/image.go:235
main.createAction
        /build/go/src/github.com/opencontainers/image-tools/cmd/oci-image-tool/create.go:74
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.HandleAction
        /build/go/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/app.go:485
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.Command.Run
        /build/go/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/command.go:193
github.com/opencontainers/image-tools/vendor/github.com/urfave/cli.(*App).Run
        /build/go/src/github.com/opencontainers/image-tools/vendor/github.com/urfave/cli/app.go:250
main.main
        /build/go/src/github.com/opencontainers/image-tools/cmd/oci-image-tool/main.go:63
runtime.main
        /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.9/share/go/src/runtime/proc.go:200
runtime.goexit
        /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.12.9/share/go/src/runtime/asm_amd64.s:1337
z```

Tried also with the latest version, but the problem is there

```oci-image-tool  --version
oci-image-tool version 1.0.0-rc1-dev commit: 93db3b16e6738bf9b8bee47d86ac93be5340838b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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