Hi there,
I am running the ESP-IDF in a VS Code devcontainer on a Windows host with WSL2 installed.
Every works perfectly if I run as root, however when I try to setup a non root user container I get what looks like permission issues when I run Build project process.
CMake Error: Could not open file for write in copy operation /opt/esp/idf/components/mbedtls/mbedtls/tf-psa-crypto/doxygen/input/doc_mainpage.h.tmp
CMake Error: : System Error: Inappropriate ioctl for device
CMake Error at /opt/esp/idf/components/mbedtls/mbedtls/tf-psa-crypto/CMakeLists.txt:77 (configure_file):
configure_file Problem configuring file
I have limited knowledge of Unix/Linux, but it looks like I don't have permissions to write to this (and probably other) folder as the non root user I created.
Any help would be great.
Thanks.
Andrew.
Non root user devcontainer permissions
-
andrew_finlayson
- Posts: 1
- Joined: Sat Jan 17, 2026 7:53 am
Who is online
Users browsing this forum: Baidu [Spider], ChatGPT-User, Google [Bot], Perplexity-User and 6 guests