无法在 ubuntu20.04 中安装 occlum

无法在 ubuntu20.04 中安装 occlum
intel@intel-M50CYP2SBSTD:~/akarsh/occlum$ make submodule

添加 Git 钩子,在提交和推送之前检查 Rust 代码格式问题

git submodule init
git submodule update  --progress

cd deps/serde-json-sgx && git apply ../serde-json-sgx.patch 
>/dev/null 2>&1 || git apply ../serde-json-sgx.patch -R --check

cd deps/ringbuf && git apply ../ringbuf.patch >/dev/null 2>&1 || git apply ../ringbuf.patch -R --check

cd deps/resolv-conf && git apply ../resolv-conf.patch >/dev/null 2>&1 || git apply ../resolv-conf.patch -R --check

rm: cannot remove 'build/internal/src/libos/src_sim/process/task': 

Permission denied

rm: cannot remove 'build/internal/src/libos/src_sim/process/do_spawn': Permission denied
rm: cannot remove 'build/internal/src/libos/src_sim/util': Permission denied
rm: cannot remove 'build/internal/src/libos/src_sim/syscall': Permission denied
rm: cannot remove 'build/internal/src/libos/cargo-target': Permission denied
rm: cannot remove 'build/internal/src/libos/lib': Permission denied
rm: cannot remove 'build/internal/tools/protect-integrity/App/Enclave_u.o': Permission denied
rm: cannot remove 'build/internal/tools/protect-integrity/App/Enclave_u.c': Permission denied
rm: cannot remove 'build/internal/tools/protect-integrity/App/App.o': Permission denied
rm: cannot remove 'build/internal/tools/protect-integrity/App/Enclave_u.h': Permission denied
rm: cannot remove 'build/internal/tools/protect-integrity/Enclave': Permission denied
rm: cannot remove 'build/bin/occlum': Permission denied
rm: cannot remove 'build/bin/occlum_build.mk': Permission denied
rm: cannot remove 'build/lib': Permission denied
make: *** [Makefile:33: submodule] Error 1

相关内容