diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-15 19:53:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 19:53:43 +0300 |
commit | 0ed472aa25bd1a21acf431cbb85b7528ff0cf10a (patch) | |
tree | 7a7a2bb78f979fc62e79814250fb7e5a31426ee9 /src/hugo | |
parent | bc30428c914785479148f999114494a6a1f603d0 (diff) |
Fix permissions: add username:user_group (#50)
* add username:user_group
* fix remaining permissions
* add *
* remove *
Diffstat (limited to 'src/hugo')
-rw-r--r-- | src/hugo/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hugo/install.sh b/src/hugo/install.sh index 11b2d6c..f7ab7a2 100644 --- a/src/hugo/install.sh +++ b/src/hugo/install.sh @@ -114,7 +114,7 @@ if ! hugo version &> /dev/null ; then updaterc "export HUGO_DIR=${installation_dir}" - chown -R :hugo "${HUGO_DIR}" + chown -R "${USERNAME}:hugo" "${HUGO_DIR}" chmod -R g+r+w "${HUGO_DIR}" find "${HUGO_DIR}" -type d | xargs -n 1 chmod g+s fi |