Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/pulseaudio-module-xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2022-05-12 17:43:01 +0300
committermatt335672 <30179339+matt335672@users.noreply.github.com>2022-05-12 17:43:01 +0300
commit5a1e458228c2de6852741adc418d05373ed30f0e (patch)
tree6a6ad69744d9c82c9564d75cc16cf3fa4fdfb566
parent39ed564d0c23b0dac38377ef13ac79e0a846d30f (diff)
Fix broken wrapper with restrictive root umask
-rwxr-xr-xscripts/install_pulseaudio_sources_apt_wrapper.sh3
1 files changed, 1 insertions, 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