I wrote a little piece of software that downloads file from internet, that is, nothing more. My intentions are to use it thru the command line... It works great, but when I plac
Maybe this answer is not directly applicable for OP answer, but for sure it is connected and it solved my issue.
On my company computer I have a few folders, which automatically sync with OneDrive. Those files are permanently labelled as "Work", not "Personal".
Each time I copied between those folders, which are syncing, I cannot run my developed application.
When I created a new directory, outside of syncing folders, I was able to change File Ownership to "Personal" (see below):
Just after that, my program works perfectly.