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?

preguntada hace 5 años287 visualizaciones
1 Respuesta
0
Respuesta aceptada

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

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas