Access to the path is denied, cannot copy XXX.dll from obj to bin?

recently playing ubuntu18.04, does not have much space reserved for the program, because it is directly mounted to the disk of the windwos system.
dotnet new a xunit project on the mounted disk at night, and then there is a mistake in build.
Show MSB3021: Unable to copy file "obj/Debug/netcoreapp2.0/." To "bin/Debug/netcoreapp2.0/.". Access to the path is denied
but something weird happened . I took a look at the bin directory, which is actually a thing of the past by copy.
I manually cp and rm those who do not believe in evil spirits, and they are all fine. ls-l shows that they are all -rwxrwxrwx / drwxrwxrwx
No problem. I have no problem trying sudo dotnet build,. Hey, what"s the authority problem?!

as a contrast, another project was new under the unmounted / home/XXX/, and the build was very smooth.

I don"t know what"s wrong with

after messing around all night.

is there any big hand who can help me answer it? thank you very much

Mar.16,2021

finally solved the problem of mount. I don't know the details. Just change the corresponding option of / etc/fstab to rw,suid,dev,auto,user,async,exec

.
Menu