Below you will find pages that utilize the taxonomy term “linux”
Posts
IOException: Permission denied for .NET application running as a linux service
For an upload feature, my .NET application needs to upload a file to a newly created directory. My application is running as a linux service. Whenever the application tries to create a folder and add the file, I get an IOException:
An unhandled exception occurred while processing the request. IOException: Permission denied.
At first, I though I’d just chmod 777 the /var/bots folder and give full write permissions. It worked, but it would probably not be a viable and secure solution for the long term.