potiuk commented on code in PR #38164:
URL: https://github.com/apache/airflow/pull/38164#discussion_r1525557422
##########
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:
Yeah. Crossed my mind. But then - we have no way to prevent it.
--
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]