# In the terminal run this to output the directory for config file
jupyter notebook --generate-config
>>> home/compname/.jupyter/jupyter_notebook_config.py
# Navigate to the directory
cd .jupyter
# open the file
open jupyter_notebook_config.py
# Add this line of code to the file somewhere and save
c.NotebookApp.use_redirect_file = False
# Try jupyter notebook again permissions error should be gone
jupyter notebook