Skip to content

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

@zokrezyl

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions