From 0ed472aa25bd1a21acf431cbb85b7528ff0cf10a Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Wed, 15 Jun 2022 09:53:43 -0700 Subject: Fix permissions: add username:user_group (#50) * add username:user_group * fix remaining permissions * add * * remove * --- src/hugo/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hugo/install.sh') 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 -- cgit v1.2.3