You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Oh this might be more than just Rust, I see when I run make clean, I get permission denied errors for all generated files. I assume this is because the docker container generated the files? I guess we need to chown after generation?
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)
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
The text was updated successfully, but these errors were encountered: