Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Manage Permissions of Dataiku folder

Mingyan
Level 1
Manage Permissions of Dataiku folder
 

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'

 

0 Kudos
3 Replies
Turribeach

Can you please post your Python code in a code block (the </> icon in the toolbar)?

0 Kudos
Mingyan
Level 1
Author
# 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'
0 Kudos

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

 

0 Kudos