diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-15 00:46:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 00:46:21 +0300 |
commit | dd7e7d65b65f2f1706d18402136bcbaecbf8c897 (patch) | |
tree | 1e7575e7bd9a09cb265b10fb0343705d48a17314 /src/go/install.sh | |
parent | 423b6d55420fe66e6e0bc4c2b5df254f7881d881 (diff) |
add username:user_groupv0.0.1
Diffstat (limited to 'src/go/install.sh')
-rw-r--r-- | src/go/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/install.sh b/src/go/install.sh index 96a1b38..e524e26 100644 --- a/src/go/install.sh +++ b/src/go/install.sh @@ -245,7 +245,7 @@ if [[ "\${PATH}" != *"\${GOROOT}/bin"* ]]; then export PATH="\${PATH}:\${GOROOT} EOF )" -chown -R :golang "${TARGET_GOROOT}" "${TARGET_GOPATH}" +chown -R "${USERNAME}:golang" "${TARGET_GOROOT}" "${TARGET_GOPATH}" chmod -R g+r+w "${TARGET_GOROOT}" "${TARGET_GOPATH}" find "${TARGET_GOROOT}" -type d | xargs -n 1 chmod g+s find "${TARGET_GOPATH}" -type d | xargs -n 1 chmod g+s |