This is an automated email from the ASF dual-hosted git repository.

uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6649e7d972 Ignore failed chown during breeze env config (#35905)
6649e7d972 is described below

commit 6649e7d972a10eb41d6f63d3286018126c3ed5a5
Author: Tzu-ping Chung <uranu...@gmail.com>
AuthorDate: Tue Nov 28 19:27:51 2023 +0900

    Ignore failed chown during breeze env config (#35905)
---
 scripts/in_container/configure_environment.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/in_container/configure_environment.sh 
b/scripts/in_container/configure_environment.sh
index 6d0cbae41e..6e16164080 100644
--- a/scripts/in_container/configure_environment.sh
+++ b/scripts/in_container/configure_environment.sh
@@ -24,7 +24,7 @@ readonly TMUX_CONF_FILE=".tmux.conf"
 if [[ -d "${FILES_DIR}" ]]; then
     export AIRFLOW__CORE__DAGS_FOLDER="/files/dags"
     mkdir -pv "${AIRFLOW__CORE__DAGS_FOLDER}"
-    sudo chown "${HOST_USER_ID}":"${HOST_GROUP_ID}" 
"${AIRFLOW__CORE__DAGS_FOLDER}"
+    sudo chown "${HOST_USER_ID}":"${HOST_GROUP_ID}" 
"${AIRFLOW__CORE__DAGS_FOLDER}" || true
 else
     export AIRFLOW__CORE__DAGS_FOLDER="${AIRFLOW_HOME}/dags"
 fi

Reply via email to