Skip to content

PermissionError: Permission denied when writing the file #1949

@valarietan

Description

@valarietan

Hi there, newbie here. Please, may I get your advice on how to resolve this?

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/valarietan/sherlock/sherlock/main.py", line 22, in
sherlock.main()
File "/Users/valarietan/sherlock/sherlock/sherlock.py", line 697, in main
with open(result_file, "w", encoding="utf-8") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied

Saw this reported in 2020 and tried what was provided in the comments. But not successful.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions