Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission error #9

Open
krishna0306 opened this issue Mar 30, 2023 · 1 comment
Open

permission error #9

krishna0306 opened this issue Mar 30, 2023 · 1 comment

Comments

@krishna0306
Copy link

giving this error:

Traceback (most recent call last):
File "C:\Git\main.py", line 43, in
block_websites(9, 21)
File "C:\Git\main.py", line 31, in block_websites
with open(default_hoster, "r+") as hostfile:
PermissionError: [Errno 13] Permission denied: 'C:\Windows\System32\drivers\etc\hosts'

despite running form admin mode in cmd

@kakalpa
Copy link
Contributor

kakalpa commented May 2, 2023

It is fixed in the latest update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants