dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.41k stars 4.76k forks source link

.NET 9 refuses to run any application on my system #110065

Open habtard opened 10 hours ago

habtard commented 10 hours ago

Description

When I try and run via rider or any other IDE

Error running 'Sadie. Console' Cannot run program "/ media/ ash/ STORAGE/ dev/ h/ SadieEmulator/ Sadie. Console/ bin/ Debug/ net9.0/ Sadie. Console" (in directory "/ media/ ash/ STORAGE/ dev/ h/ SadieEmulator/ Sadie. Console/ bin/ Debug/ net9.0"): error=13, Permission denied

Manually via CLI running dotnet run --project...

Unhandled exception: System.ComponentModel.Win32Exception (13): An error occurred trying to start process '/media/ash/STORAGE/dev/h/SadieEmulator/Sadie.Console/bin/Debug/net9.0/Sadie.Console' with working directory '/media/ash/STORAGE/dev/h/SadieEmulator'. Permission deniedUnhandled exception: System.ComponentModel.Win32Exception (13): An error occurred trying to start process '/media/ash/STORAGE/dev/h/SadieEmulator/Sadie.Console/bin/Debug/net9.0/Sadie.Console' with working directory '/media/ash/STORAGE/dev/h/SadieEmulator'. Permission denied

even a sudo chmod -R 777 doesn't fix this...

Reproduction Steps

Not possible without my code base

Expected behavior

To be able to run my app?

Actual behavior

Fails to allow me to run my app

Regression?

Has worked fine on all previous versions for years

Known Workarounds

Run from main drive of OS

Configuration

9.0 Ubuntu 24.10 AMD

Other information

No response

am11 commented 9 hours ago

Do you have steps to repro? Otherwise, I'd inspect by looking at the output of file /media/ash/STORAGE/dev/h/SadieEmulator/Sadie.Console/bin/Debug/net9.0/Sadie.Console vs. some other binary known to be working on your system, such as file $(command -v dotnet) to see if Sadie.Console is a valid executable for the given platform.

dotnet-policy-service[bot] commented 9 hours ago

Tagging subscribers to this area: @dotnet/area-meta See info in area-owners.md if you want to be subscribed.