Hrithiksomani edited a comment on issue #17735:
URL: https://github.com/apache/airflow/issues/17735#issuecomment-907756646


   Any update on this as we are also facing the same issue in Airflow 2.0.1.
   Due to permission denied error on_failure_callback is not triggering the 
function call with run_as_user = 'me' but is triggered using airflow as user.
   
   Adding:
   
   We applied the following changes:
   os.chmod(self._error_file.name, 0o666)
   
   So the permission of the error file in /tmp/<err_file> is getting updated.
   
   But now on_failure_callback is not at all calling the function, neither by 
run_as_user='me' nor by airflow.
   Wandering how permission change is stopping to call the function?


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to