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:49:27 +0300
committerGitHub <noreply@github.com>2022-05-12 17:49:27 +0300
commitc610894c13e99579705ef4ac60d202bbec25eb3e (patch)
tree6a6ad69744d9c82c9564d75cc16cf3fa4fdfb566
parent93307a6b0b976b2bfd8cb0f6c9dca7bb10114096 (diff)
parent5a1e458228c2de6852741adc418d05373ed30f0e (diff)
Merge pull request #81 from matt335672/restrictive_umask_support
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