mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-17 21:17:50 +00:00
The following error was observed during virtiofsd static build: ``` error: could not create temp file /opt/rustup/tmp/p44enysfaxwdbvw4_file: Permission denied (os error 13) ``` This occurs because RUSTUP_HOME and CARGO_HOME were initialized by the root user during `docker build`, but `cargo build` is executed as a non-root user via 'docker run --user'. Ensure these directories are writable by adjusting the permission after the toolchain installation is complete. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>