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/rust/install.sh | |
parent | 423b6d55420fe66e6e0bc4c2b5df254f7881d881 (diff) |
add username:user_groupv0.0.1
Diffstat (limited to 'src/rust/install.sh')
-rw-r--r-- | src/rust/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rust/install.sh b/src/rust/install.sh index 07a36a7..be52fd3 100644 --- a/src/rust/install.sh +++ b/src/rust/install.sh @@ -147,7 +147,7 @@ if ! cat /etc/group | grep -e "^rustlang:" > /dev/null 2>&1; then fi usermod -a -G rustlang "${USERNAME}" mkdir -p "${CARGO_HOME}" "${RUSTUP_HOME}" -chown :rustlang "${RUSTUP_HOME}" "${CARGO_HOME}" +chown "${USERNAME}:rustlang" "${RUSTUP_HOME}" "${CARGO_HOME}" chmod g+r+w+s "${RUSTUP_HOME}" "${CARGO_HOME}" if [ "${RUST_VERSION}" = "none" ] || type rustup > /dev/null 2>&1; then |