I just solved it by restarting the Jupyterhub service.

Thank you

Lukas

Lukas Lehnert schrieb am Montag, 13. September 2021 um 14:20:46 UTC+2:

>
> Dear members of the Jupyter group,
>
> I am using Jupyterhub on a linux server and have the following issue with 
> when trying to access a path outside my home folder.
> If I try to change my directory to the RAID (mounted at /data/...) I 
> always get the error that permission is denied. The strange thing is that I 
> can access the same path from RStudio and the terminal without any error:
>
> Jupyterhub (with python3 kernel):
> import os
> os.chdir("/data/projects/Students/Master/")
> --------------------------------------------------------------------------- 
> PermissionError Traceback (most recent call last) 
> <ipython-input-9-28cd65e1ac4e> in <module> 1 import os ----> 2 os.chdir(
> "/data/projects/Students/Master/") PermissionError: [Errno 13] Permission 
> denied: '/data/projects/Students/Master/' 
>
> In R:
> > setwd("/data/projects/Students/Master/")
> > list.dirs() [1] "." "./APV" 
>
> Does anyone have an idea, what the reason is?
>
> Thank you!
>
> Lukas
>
>

-- 
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/15a7fbf0-b762-4b75-ae4b-85f46a8d1ee1n%40googlegroups.com.

Reply via email to