You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/30 18:33:05 UTC

[GitHub] [airflow] Hrithiksomani edited a comment on issue #17735: Permission error for error file when run_as_user is used (bug)

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org