Thank you for the reply. I noticed that this image of the VM was using a umask of 0077 which could mess with the permissions. I rebuilt the VM and changed the umask to 022 and tried again. But I’m running into the same issues:
Can you run that rebar manually? ./rebar --version?
I had something similar ages ago. Please check if env is available in $PATH, especially when you installed a minimal VM it might be missing… If I’m right here, you might need to find the correct package on your own…
It does appear that the umask of 077 may have been the issue. While I’m still having an error as the root user, even after logging out and back in, I was able to do the following as my users:
tar -xvf v1.4.5.tar
make clean test
sudo make install
[jfhogarty@inara tmp]$ iex
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.4.5) - press Ctrl+C to exit (type h() ENTER for help)
I continue to have the permissions problems if I clone the repo, either as root or as a user.
Ok, first thank you NobbZ as your responses got me thinking in the correct direction. I found the problem which is two fold.
This base VM (which is a standard where I work) had a umask of 0077.
The /tmp directory seems to have some special permissions
The error message had me looking in the wrong direction. I have now been able to, as booth root and a user, download/git clone both 1.4.5 and 1.5.x and compile. What I needed to do was to download/clone the files into a different directory as /tmp permissions were the issue.