Many times after closing a file I am working on and trying to open it later I get an error:

<fileName>id0: bTree error: file open error: Permission denied

enter image description here

even when i copy this file to a new location and make sure i have write permission for it it still fails. any suggestions?

  • Does this error show only in Google Drive folder?
    – Biswapriyo
    Commented Aug 14, 2018 at 5:00
  • no - when i copy the file to another project i still see it. Another strange thing is that i was able to open these files fine. I then closed it and could not reopen.
    – dandan
    Commented Aug 14, 2018 at 7:07
  • Did you copy all files from that folder or only a single one? Also, why don't you get in touch with the Hex-Rays support? They surely have a better chance at salvaging damaged IDA databases than anyone here.
    – 0xC0000022L
    Commented Aug 14, 2018 at 13:29
  • 1
    .id0 (exactly as .id1, .id2, .nam, .til) are temporary files that IDA tries to open when opening database, which means that if you successfully closed your database they are not important. Try to move .idb (or.i64) file(which is the database file itself) to another folder without other files. Are you still unable to open it ?
    – w s
    Commented Aug 15, 2018 at 11:19
  • btw, stupid question: do you have enough place on the disk ?
    – w s
    Commented Aug 15, 2018 at 15:15

2 Answers 2


I my case I resolved the issue by removing file attribute "archive". I was faced with this using common Drobpox folder for IDA on Windows host and IDA on Wine environment.


You could run Process Monitor (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) and filter on the process name of IDA to narrow down the problem and see which operation exactly causes the issue.

  • i tried running ida as admin an was able to open the file...
    – dandan
    Commented Aug 14, 2018 at 7:45
  • Permission denied always happens on opening/creating. Once you have a handle, there aren't any more permissions checks.
    – 0xC0000022L
    Commented Jan 24, 2023 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.