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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠