I would imagine that in a shared install like this, only root (or people
with sudo) could install new versions, set up aliases, etc.  Normal users
would only be able to `nvm use foo`.  If that's the case, I don't think we
need to try to create user writable directories anywhere.


On Fri, Jul 5, 2013 at 12:31 PM, Jordan Harband <notifications@github.com>wrote:

> In install.sh:
>
> > @@ -25,6 +31,12 @@ else
> >    fi
> >  fi
> >
> > +# Set permissions for multi user environment
> > +if [ `whoami` == 'root' ]; then
> > +  mkdir -p $NVM_DIR/alias
>
> I'm not sure what the "alias" part is here for?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/creationix/nvm/pull/261/files#r5046971>
> .
>