Hi, I am trying to install homebrew in my linux environment for a non-root user (with this manual).
It seems that homebrew would download the tar package of portable-ruby and extract it.
Then I met the permission error like:
tar: portable-ruby/2.6.3_2/share/terminfo/N/NCRVT100WPP: Cannot open: Permission denied
I used tar -ztvf portable-ruby.tar.gz and saw the files are owned by root. (If I did it the right way.)
Hi, I am trying to install homebrew in my linux environment for a non-root user (with this manual). It seems that homebrew would download the tar package of portable-ruby and extract it. Then I met the permission error like:
tar: portable-ruby/2.6.3_2/share/terminfo/N/NCRVT100WPP: Cannot open: Permission denied
I used
tar -ztvf portable-ruby.tar.gz
and saw the files are owned by root. (If I did it the right way.)So how can I deal with this?