XD-DENG commented on issue #4916: [AIRFLOW-4087] remove sudo in on_finish function of BaseTaskRunner URL: https://github.com/apache/airflow/pull/4916#issuecomment-472669174 Hi @youngyjd , as I replied in the dev maillist, **sudo** is only required when you're using `run_as_user` option (and I believe it should be required in such cases). So I don't see this as a bug/issue. reference: https://github.com/apache/airflow/blob/1def58e711d5e75e6999685f6b269233656bf0c6/airflow/task/task_runner/base_task_runner.py#L62-L81
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
