edk2-nvidia icon indicating copy to clipboard operation
edk2-nvidia copied to clipboard

Error: [Errno 13] Permission denied: ../build/nvidia-uefi'

Open fadhelh-nd opened this issue 2 years ago • 3 comments

Hi, When following steps https://github.com/NVIDIA/edk2-nvidia/wiki/Build-with-docker

I'm seeing permission denied when giving $ edk2_docker edkrepo clone nvidia-uefi NVIDIA-Platforms main Syncing the global manifest repository: /home/fadhelh/.edkrepo/edk2-edkrepo-manifest-main Syncing the global manifest repository: /home/fadhelh/.edkrepo/nvidia Error: [Errno 13] Permission denied: '/home/fadhelh/project/octo_v1/uefi_docker/build/nvidia-uefi

When tried with $sudo edk2_docker edkrepo clone nvidia-uefi NVIDIA-Platforms main sudo: edk2_docker: command not found

I could even see hello when giving edk2_docker echo hello

Please guide.

Regards

fadhelh-nd avatar Dec 04 '23 07:12 fadhelh-nd

You'll need to check the permissions on /home/fadhelh/project/octo_v1/uefi_docker/build and make sure docker can access it.

We can also take a peek inside the container with: edk2_docker ls -l

You definitely shouldn't need sudo access.

Thanks.

jgarver avatar Dec 04 '23 15:12 jgarver