Beginner I have to run a python file in Airflow (with docker) but I am getting permission denied. The first task in this python file is to unzip some files from one folder and insert them into another already unzipped. These zips are taken from a datalake and placed in this directory, so they are just there to be unzipped. I'm not allowed to change this flow, so I need to keep things as they are, just orchestrating them with the airflow. This same python script runs without errors outside of Airflow, on the Ubuntu 20 command line. I've tried adding chmod commands in directories but it's not working. My dags are running in /opt/airfow/dags, the python script is in /opt/airflow/filepy and the files to unzip are in /opt/airflow/filepy/unzip/zip. This is the error from airflow This is the task call This is the part of python file encharged to unzip files # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE ...
A site where you can share knowledge