---------------------------------------------------------------------------
PermissionError Traceback (most recent call last)
Cell In [11], line 3
1 # Setup clean working directory
2 name = working_directory_name
----> 3 working_dir = get_working_dir(name)
Cell In [9], line 7, in get_working_dir(dir_name)
5 if os.path.exists(working_dir):
6 shutil.rmtree(working_dir)
----> 7 os.makedirs(working_dir)
8 return working_dir
File /opt/conda/lib/python3.9/os.py:215, in makedirs(name, mode, exist_ok)
213 if head and tail and not path.exists(head):
214 try:
--> 215 makedirs(head, exist_ok=exist_ok)
216 except FileExistsError:
217 # Defeats race condition when another thread created the path
218 pass
File /opt/conda/lib/python3.9/os.py:215, in makedirs(name, mode, exist_ok)
213 if head and tail and not path.exists(head):
214 try:
--> 215 makedirs(head, exist_ok=exist_ok)
216 except FileExistsError:
217 # Defeats race condition when another thread created the path
218 pass
File /opt/conda/lib/python3.9/os.py:225, in makedirs(name, mode, exist_ok)
223 return
224 try:
--> 225 mkdir(name, mode)
226 except OSError:
227 # Cannot rely on checking for EEXIST, since the operating system
228 # could give priority to other errors like EACCES or EROFS
229 if not exist_ok or not path.isdir(name):
PermissionError: [Errno 13] Permission denied: '/datastore'
when executing notebook: https://github.com/QCDIS/lifewatch-notebooks/blob/main/MULTIPLY/MULTIPLY_1_Data_access_pyth3.9.ipynb
We get the following error: