Score:0

unable install occlum in ubuntu20.04

bh flag
intel@intel-M50CYP2SBSTD:~/akarsh/occlum$ make submodule

Add Git hooks that check Rust code format issues before commits and pushes

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
David avatar
cn flag
Where is the command that produced this output?
chili555 avatar
cn flag
"make submodule" Please try: `sudo make submodule` Welcome to Ask Ubuntu.
waltinator avatar
it flag
Please read https://askubuntu.com/help/how-to-ask and https://askubuntu.com/help/formatting
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.