From dd7e7d65b65f2f1706d18402136bcbaecbf8c897 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Tue, 14 Jun 2022 21:46:21 +0000 Subject: add username:user_group --- src/ruby/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ruby/install.sh') diff --git a/src/ruby/install.sh b/src/ruby/install.sh index ade545c..cbe8270 100644 --- a/src/ruby/install.sh +++ b/src/ruby/install.sh @@ -277,7 +277,7 @@ if [ "${SKIP_RBENV_RBUILD}" != "true" ]; then ln -s /usr/local/rvm/rubies/default/bin/ruby /usr/local/rvm/gems/default/bin - chown -R :rvm "/home/${USERNAME}/.rbenv" + chown -R "${USERNAME}:rvm" "/home/${USERNAME}/.rbenv" chmod -R g+r+w "/home/${USERNAME}/.rbenv" find "/home/${USERNAME}/.rbenv" -type d | xargs -n 1 chmod g+s fi -- cgit v1.2.3