TECHIES WORLD

For Techs.... Techniques.... Technologies....

BashLinuxPython

Python OSError: [Errno 13] Permission denied

OSError: [Errno 13] Permission denied

This error clearly saying that its happening because of the lack of permissions.

This can be corrected by changing the ownership of the folder to the required one.

#chown -R USER.GROUP FOLDER

Where USER, GROUP need to be replaced with the name of the user, group by which the Python executes the code and FOLDER with the name of the directory where the Python code exists.

That's all...