Acces denied while creating a cargo

โš“ Rust    ๐Ÿ“… 2026-01-07    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 15      

surdeus

Warning

This post was published 64 days ago. The information described in this article may have changed.

Hi,

I'm new in rust development, i'm following the rust book, i'm currently in chapter 1.3 "Hello, Cargo".

When I try to build cargo using "cargo build", i get an acces denied :

error: failed to create directory C:\Users\Thomas\Documents\Projet\livre_rust\hello_cargo\target

Caused by:
Accรจs refusรฉ. (os error 5)

So far i install rust using rustup and make a program printing "Hello, Word", did I miss something?

1 post - 1 participant

Read full topic

๐Ÿท๏ธ Rust_feed