dotnet-dump collect
silently fails if the user running the process does not have permission to write
#5245
Labels
bug
Something isn't working
But in reality the file was not actually written, because the process I was dumping was running as another user (I ran the dump command as root) which didn't have permissions to write to my home folder. When I changed working directory to /tmp it actually worked.
The tool should report an error if it fails to actually write the file instead of saying complete.
I am using .NET 9.0.102 on Debian 12.
The text was updated successfully, but these errors were encountered: