Score:0

Does Asp.Net use his own privilege in ubuntu?

cn flag

I've executed simple Asp.net Razor Web project with root privileges.

root@s11306768:/var/www/# ./CopyWebServer

It performs simple file copy.

As I executed this with root, I expected that it will copy from any folder to any folder.

But Unfortunately, It says

Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.Exception: Access to the path '/var/www/dest' is denied.

Then which user privilege is this program running in?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.