Manage Permissions of Dataiku folder
Mingyan
Registered Posts: 3 ✭
I want to read a docx file in my dataiku folder through python recipes, but it returns permission denied. How can I change my folder access permissions?
PermissionError: [Errno 13] Permission denied: '/data/dataiku/dss_data/managed_folders/TUMING/DYV5ukXU/GDMS005_001.docx'
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,990 Neuron
Can you please post your Python code in a code block (the </> icon in the toolbar)?
-
# Read recipe inputs Dataset_folder = dataiku.Folder("DYV5ukXU") folder = Dataset_folder.get_info() doc_path = os.path.join(folder["path"], "GDMS005_001.docx") f = open(doc_path) --------------------------------------------------------------------------- PermissionError Traceback (most recent call last) <ipython-input-14-da12e1b887da> in <cell line: 1>() ----> 1 f = open(doc_path) PermissionError: [Errno 13] Permission denied: '/data/dataiku/dss_data/managed_folders/TUMING/DYV5ukXU/GDMS005_001.docx'
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,990 Neuron
You already have your answer in your other post. Please do not post in multiple areas at the same time, it's a waste of everyone's time.
https://community.dataiku.com/t5/Setup-Configuration/Permissions-Denied-error/m-p/43191#M3722