fixes permissions on nvm install