-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not execute process - Access is denied #10715
Comments
Do you have any sort of anti-virus installed? That is a usual culprit. You may want to check if the executable has been quarantined if it doesn't even appear to exist. |
@robins are you using powershell? That may be the problem. I think you need to configure it to run certain things |
I'm going to close as I do not think this is an issue specific to cargo, and there isn't enough information here to know more about what might be causing your issue. I'm sorry you're having a difficult experience, I know it can be frustrating. I suspect this is related to some background process like Defender or an anti-virus system. Unfortunately I do not believe Windows provides any more information about "access denied" errors, so I don't think there is much more cargo can display here. If you continue to have problems and can't diagnose it, I recommend trying one of the user forums (like https://users.rust-lang.org/) for more help. |
That was my case. Kaspersky flag |
I am using linux mint 22, and was facing the same problem but the main issue was with the file system. The file system of my partition was fat32. So I changed it to ext4 and now there is no issue. |
Problem
This is a re-open for #2306 . Opening a new report as indicated therein.
I can reproduce the error and have pasted the last few lines of the backtrace here... but basically I recently started learning rust and
cargo run
did work pretty okay till last week and since then I get this persistentaccess is denied
is putting me off. A few things that may help:Original Error
Steps
Cargo run
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: