diff options
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 |