Hi,

Jupyterhub 1.1.0

Problem - Jupyterhub is pointing to /workspace directory. Inside /workspace 
dir, there is one symlink

lrwxrwxrwx    1 root root   17 Jul 21 09:10 wbrcia -> /workspace/abc/wbrcia

I don't have permission to "wbrcia" directory.

Now, when logging to Jupyterhub, it's throwing below error and unable to 
get my page.

PermissionError: [Errno 13] Permission denied: '/workspace/abc/wbrcia' 

Ideally, it should ignore dir/file where I don't have access.

Please help.

Full error from Jupyterhub login page:-

Server error: Traceback (most recent call last): File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/tornado/web.py", line 
1592, in _execute result = yield result File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/tornado/gen.py", line 
1133, in run value = future.result() File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/tornado/gen.py", line 
326, in wrapper yielded = next(result) File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/notebook/services/contents/handlers.py",
 
line 112, in get path=path, type=type, format=format, content=content, File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/notebook/services/contents/filemanager.py",
 
line 431, in get model = self._dir_model(path, content=content) File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/notebook/services/contents/filemanager.py",
 
line 337, in _dir_model if self.should_list(name) and not 
is_file_hidden(os_path, stat_res=st): File 
"/opt/Anaconda/2018.12/lib/python3.7/site-packages/notebook/utils.py", line 
155, in is_file_hidden_posix stat_res = os.stat(abs_path) PermissionError: 
[Errno 13] Permission denied: '/home/myuser/wbrcia' 





-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/1db5a40f-c2f9-49aa-b32a-f21cb5300535o%40googlegroups.com.

Reply via email to