By using AWS re:Post, you agree to the Terms of Use

PermissionError: [Errno 13] Permission denied aws ec2


I am using AWS EC2 for my final year project, and I am starting to set up Python and spark to do the big data analysis.

I am following this website: Jupyter Notebooks on AWS EC2 in 15 (mostly easy) steps

When I did step 13 and type jupyter notebook in my terminal, I cannot access the website? And this error occurs:

PermissionError: [Errno 13] Permission denied

Any idea what could be causing this?

asked 3 years ago13 views
1 Answer
Accepted Answer

this OS error i think

if somewhere you were specifying path and that path have "/" infront OR you have to change the directory permission use this command

chown -R user-id:group-id /path/to/the/directory
change the permission so web server can access the directory

to check which user of your server own the ownership of web server you can try this command

ps aux | grep httpd | grep -v grep

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions