From 5a1e458228c2de6852741adc418d05373ed30f0e Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Thu, 12 May 2022 15:43:01 +0100 Subject: [PATCH] Fix broken wrapper with restrictive root umask --- scripts/install_pulseaudio_sources_apt_wrapper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install_pulseaudio_sources_apt_wrapper.sh b/scripts/install_pulseaudio_sources_apt_wrapper.sh index 7b6f531..0cf984c 100755 --- a/scripts/install_pulseaudio_sources_apt_wrapper.sh +++ b/scripts/install_pulseaudio_sources_apt_wrapper.sh @@ -211,8 +211,7 @@ echo "- Creating schroot config file $schroot_conf" # Copy the wrapped script to the buildroot root echo "- Copying the wrapped script to the root" -sudo cp $WRAPPED_SCRIPT $BUILDROOT/wrapped_script || exit $? -sudo chmod +x $BUILDROOT/wrapped_script || exit $? +sudo install -m 755 $WRAPPED_SCRIPT $BUILDROOT/wrapped_script || exit $? # Run the wrapped script log=/var/tmp/pa-build-$USER-schroot.log