C# linux上的.NET内核在运行时获得的权限被拒绝
我在Ubuntu18.04上创建了一个新的dotnet控制台项目,它存储在与windows和linux分区共享的hdd中,创建时我没有收到任何错误,但当我尝试运行它时,我收到以下错误消息:C# linux上的.NET内核在运行时获得的权限被拒绝,c#,ubuntu,.net-core,C#,Ubuntu,.net Core,我在Ubuntu18.04上创建了一个新的dotnet控制台项目,它存储在与windows和linux分区共享的hdd中,创建时我没有收到任何错误,但当我尝试运行它时,我收到以下错误消息: System.ComponentModel.Win32Exception (13): Permission denied at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] e
System.ComponentModel.Win32Exception (13): Permission denied
at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.DotNet.Cli.Utils.Command.Execute()
at Microsoft.DotNet.Tools.Run.RunCommand.Execute()
at Microsoft.DotNet.Tools.Run.RunCommand.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
但是如果我在我的Ubuntu分区中也这样做,程序运行就不会有问题
***FAT/NTFS?我认为linux权限在Windows文件系统上不起作用。您能告诉我们生成异常的路径吗?@balint这是路径/media/oscar/Storage1TB/Courses/pluralsight/Getting started with NET core on mac和linux/HellodotNetwork,文件系统类型是您的共享分区?FAT/NTFS?我认为linux权限在Windows文件系统上不起作用。您能告诉我们生成异常的路径吗?@balint这是路径/media/oscar/Storage1TB/Courses/pluralsight/Getting started with NET core on mac和linux/HelloDotNet