aboutsummaryrefslogtreecommitdiff
path: root/src/php
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-15 19:53:43 +0300
committerGitHub <noreply@github.com>2022-06-15 19:53:43 +0300
commit0ed472aa25bd1a21acf431cbb85b7528ff0cf10a (patch)
tree7a7a2bb78f979fc62e79814250fb7e5a31426ee9 /src/php
parentbc30428c914785479148f999114494a6a1f603d0 (diff)
Fix permissions: add username:user_group (#50)
* add username:user_group * fix remaining permissions * add * * remove *
Diffstat (limited to 'src/php')
-rw-r--r--src/php/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/install.sh b/src/php/install.sh
index 847f50f..1f3d9d9 100644
--- a/src/php/install.sh
+++ b/src/php/install.sh
@@ -197,7 +197,7 @@ rm -rf ${PHP_SRC_DIR}
updaterc "if [[ \"\${PATH}\" != *\"${CURRENT_DIR}\"* ]]; then export PATH=${CURRENT_DIR}/bin:\${PATH}; fi"
-chown -R :php "${PHP_DIR}"
+chown -R "${USERNAME}:php" "${PHP_DIR}"
chmod -R g+r+w "${PHP_DIR}"
find "${PHP_DIR}" -type d | xargs -n 1 chmod g+s