[Tutor] Help:python based framework show error

Steven D'Aprano steve at pearwood.info
Sat Jul 2 04:03:09 EDT 2016

On Sat, Jul 02, 2016 at 10:34:27AM +0530, Palanikumar Gopalakrishnan wrote:
> Hi dudes,
>                 I run the python based framework routersploit , it shows
> the following error.

Thanks for sharing. Do you have a question?

> Traceback (most recent call last):
> File "/home/tester/routersploit/routersploit/interpreter.py", line 39, in setup
> readline.read_history_file(self.history_file)
> IOError: [Errno 13] Permission denied

Have you read the error message? It seems pretty obvious to me: you 
don't have permission to read the history file. That's not a Python 
problem, it's a permissions problem:

- check that you're reading the right file;
- check that you're in the right directory;
- check that you're running the code as the right user;
- check that permissions on the file are right.

Do you know how to do these things?


More information about the Tutor mailing list