potiuk commented on a change in pull request #7724: [AIRFLOW-1536] Inherit
umask from parent process in daemon mode
URL: https://github.com/apache/airflow/pull/7724#discussion_r392692428
##########
File path: airflow/cli/commands/celery_command.py
##########
@@ -135,6 +135,7 @@ def worker(args):
ctx = daemon.DaemonContext(
files_preserve=[handle],
+ umask=cli_utils.get_umask(),
Review comment:
Just to give some example - there are problems with Dockerfile caching when
git by default uses umask of the system rather than have predefined value.
Different systems at different times had different default umask (for example
debian/mint had it different and different versions) and that means that your
daemon might behave differently for those different systems,
----------------------------------------------------------------
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