CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.93k stars 552 forks source link

No permission on ISO generated by debug #997

Closed L3tum closed 6 years ago

L3tum commented 6 years ago

Area of Cosmos - What area of Cosmos are we dealing with?

ISO generation for debugger/VS Integration(?)

Expected Behaviour - What do you think that should happen?

The current user, or at least the admin, should have R/W rights to the files generated by the build output in bin\Debug\netX\

Edit: The VM started by Cosmos should stop after debugging ends.

Actual Behaviour - What unexpectedly happens?

At least the ISO file, but probably also others, are not R/W by the current user NOR THE ADMINISTRATOR. Nobody even has read permissions, let alone write.

Edit: I was a bit quick. I expected the VM that Cosmos started to be stopped, but it didn't. So Hyper-V was preventing me from deleting the ISO (rightfully so).

Reproduction - How did you get this error to appear?

I just installed Cosmos, then ran VS as Administrator because Hyper-V required that and hit "Run" in Debug configuration

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Latest User Kit version

quajak commented 6 years ago

Closing this issue because this is known behavior of hyperv.