-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
"System.UnauthorizedAccessException: Access to the path is denied." from Console.WriteLine on Ubuntu 20.10 #48654
Comments
Tagging subscribers to this area: Issue DetailsWhen writing to the Console on Ubuntu 20.04 from the latest Dotnet Core 5.0 SDK Snap Package, You can find affected code at sharpninja/FizzBuzz (look in any of the Dotnet projects under Configuration.Net SDK 5.0.103
Regression?I do not know if the problem previously existed. Other information
|
@sharpninja are you able to repro this consistently? Could you please verify installing .NET with a method other than snap? How do you start the process, are you redirecting the standard output? |
Yes, it happens every time. That GitHub repo has five different .Net Projects (3x C#, 1x F# and 1x VB.Net) that exhibit the same behavior. Edit: I will try to install via the install_dotnet script tonight and test that way. |
Hi @sharpninja I've taken a look at the example that you have provided and I can't find a reason why it would be throwing. May I ask how exactly do you run the app? Which terminal are you using? How is the dotnet process being started? Is the input reditected? Is there a script that I could run to repro it? Thanks, |
No response for 2 years, closing. |
When writing to the Console on Ubuntu 20.04 from the latest Dotnet Core 5.0 SDK Snap Package,
System.UnauthorizedAccessException: Access to the path is denied.
is thrown.You can find affected code at sharpninja/FizzBuzz (look in any of the Dotnet projects under
src
) and compiled binaries.Configuration
.Net SDK 5.0.103
Regression?
I do not know if the problem previously existed.
Other information
The text was updated successfully, but these errors were encountered: