C1w1: Ungraded Lab:Error while running a cell of server.ipynb file

I have followed all the instruction given in this lab and when finally I have started running the server.ipnb file, then on the cell which says to create a folder, basically the below one

import os

dir_name = “images_with_boxes”
if not os.path.exists(dir_name):
os.mkdir(dir_name)
It is throwing me error saying I don’t have permission to create a folder. Why this is happening…???

os.mkdir creates a directory for you.

If using linux:
Run chmod -R 777 . in the directory where server.ipynb is located so that permission errors don’t occur.

Refer not, please refer your OS guide for fixing directory permissions.