protobuf-specs
protobuf-specs copied to clipboard
Permissions error running make locally
There is a permissions error when trying to read the lock generated during rust codegen. This appears to surface after the rust codegen is complete and a later step accesses the lock (which appears to occur during json schema generation)
Building docker image for generating JSON schema files
docker build -t jsonschema-specs-build -f Dockerfile.jsonschema .
error checking context: no permission to read from '/usr/local/google/home/hayden/protobuf-specs/gen/pb-rust/target/debug/incremental/sigstore_protobuf_specs_codegen-233wpt7eagx8m/s-gu0xx5y87x-120l4cw.lock'
make: *** [Makefile:89: docker-image-jsonschema] Error 1
Running with sudo
fixes this, but obviously is not ideal (and seems to create other errors for me, but that's probably due to my environment).
cc @woodruffw @tnytown