From 4ade82e26fc2eca2e7054ea2a0f68c1a9998e7fb Mon Sep 17 00:00:00 2001 From: Maarten <9350991+mjkl-gh@users.noreply.github.com> Date: Sat, 15 Jan 2022 16:21:37 +0100 Subject: [PATCH] chmod before moving file make file executable before moving to the windows folder to prevent weird permissions problem --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1b47fcb..1916224 100755 --- a/install.sh +++ b/install.sh @@ -91,8 +91,8 @@ fi set +x echo_stage "Installing Windows component of WSL-Hello-sudo..." set -x +chmod +x build/WindowsHelloBridge.exe cp build/WindowsHelloBridge.exe "$PAM_WSL_HELLO_WINPATH/" -chmod +x "$PAM_WSL_HELLO_WINPATH/WindowsHelloBridge.exe" set +x echo_stage "Installing PAM module to the Linux system..."