Manage Permissions of Dataiku folder

Options
Mingyan
Mingyan Registered Posts: 3
edited July 16 in Using Dataiku

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
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,740 Neuron
    Options

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

  • Mingyan
    Mingyan Registered Posts: 3
    edited July 17
    Options
    # 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
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,740 Neuron
    Options

    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

Setup Info
    Tags
      Help me…