Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

PermissionError: [Errno 13] Permission denied: 'C:\\Windows\\System32\\drivers\\etc\\hosts' #119

Closed
rescuedog2 opened this issue Nov 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@rescuedog2
Copy link

BEFORE SUBMIT A BUG, PLEASE READ THE FAQ PAGE HERE: https://github.com/derekhe/msfs2020-google-map/wiki/FAQ

Describe the bug
Any help to get past this Errno 13 permissions error would be greatly appreciated.

To Reproduce
Running run.bat as admin but when I click on Run, I get this error. I tried changing permissions and owners to the best of my technical knowledge but can't get past this error. Not sure what I am missing.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Win 10
  • MOD Version [e.g. 22]
  • MSFS Version = Steam

Additional context
Add any other context about the problem here.

@rescuedog2 rescuedog2 added the bug Something isn't working label Nov 26, 2021
@derekhe
Copy link
Owner

derekhe commented Nov 26, 2021

Most of the case it is caused by your antivirus, please disable the hosts protection or add whitelist for this app.
https://github.com/derekhe/msfs2020-google-map/wiki/FAQ#host-related-issue

@rescuedog2
Copy link
Author

Thanks for the quick reply and help. This was caused by Kaspersky. For others that may need help, all I had to do was add an exclusion for this specific run.bat file. Then be sure to checkbox the following:
Do not monitor application activity
Do not inherit restrictions from parent process
Do not monitor the activity of child apps

That's it.

@derekhe
Copy link
Owner

derekhe commented Nov 27, 2021

Good, will close this one. Also added into FAQ page.

@derekhe derekhe closed this as completed Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants