Prevents failure on fixing permissions for files with space in it (#9076)
This commit is contained in:
Родитель
db4297406d
Коммит
88c8edb898
|
@ -93,8 +93,8 @@ function in_container_cleanup_pycache() {
|
|||
#
|
||||
function in_container_fix_ownership() {
|
||||
set +o pipefail
|
||||
sudo find "${AIRFLOW_SOURCES}" -user root \
|
||||
| sudo xargs chown -v "${HOST_USER_ID}.${HOST_GROUP_ID}" --no-dereference >/dev/null 2>&1
|
||||
sudo find "${AIRFLOW_SOURCES}" -user root -print0 \
|
||||
| sudo xargs --null chown -v "${HOST_USER_ID}.${HOST_GROUP_ID}" --no-dereference >/dev/null 2>&1
|
||||
set -o pipefail
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче