Author Topic: Permission Denied Can't build and run or delete  (Read 2919 times)

Offline Nishaven

  • Single posting newcomer
  • *
  • Posts: 2
Permission Denied Can't build and run or delete
« on: April 25, 2020, 04:15:07 pm »
I always get the this error when I try to build and run a code second time.

ld.exe||cannot open output file C:\Users\Dark\Desktop\cb\filename.exe Permission denied|

I also can't delete the exe. I tried to wait but it only fixes itself when i restart the computer. I checked the task manager, program is not running. Same on Process Explorer. I am logged in as admin and only user. In properties it says "Unable to display current owner" and when I try to take ownership it says access denied.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Permission Denied Can't build and run or delete
« Reply #1 on: April 25, 2020, 04:52:55 pm »
Do you have any antivirus software running and interfering with this? Have you tried to create the executable somewhere else and not on the desktop?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Nishaven

  • Single posting newcomer
  • *
  • Posts: 2
Re: Permission Denied Can't build and run or delete
« Reply #2 on: April 25, 2020, 05:28:08 pm »
I tried other paths C or D but same. Closing antivirus seems to work. Thanks!