PermissionError: [Errno 13] Permission denied aws ec2

0

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?

已提问 5 年前286 查看次数
1 回答
0
已接受的回答

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

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则