git permission denied error in airflow dag when access git in subprocess or bashoperator #39086
Unanswered
hegdeashwin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Airflow on my local env. As part of of the task in Airflow DAG I need to execute git clone command either using subprocess or BashOperator however it fails with git permission denied error. Its able to execute ls and echo command but not git.
Note - Git is already installed on my system.
DAG code with subprocess
DAG code with BashOperator
I'm not sure why Airflow DAG task is not able to execute git command. Need help here
Beta Was this translation helpful? Give feedback.
All reactions