potiuk commented on code in PR #38164:
URL: https://github.com/apache/airflow/pull/38164#discussion_r1527584720
##########
airflow/utils/log/file_task_handler.py:
##########
@@ -168,6 +168,11 @@ def _change_directory_permissions_up(directory: Path,
folder_permissions: int):
:param directory: directory to change permissions of (including parents)
:param folder_permissions: permissions to set
"""
+ if directory.resolve() == Path.home().resolve():
Review Comment:
I found a better way. I only change permissions for the directories that
have **just** been created (I stop at the directory that was existing before
mkdir). This is way better and correct.
--
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]