Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running install script when su to another user finds wrong home dir #5806

Closed
codecat opened this issue Jan 24, 2017 · 1 comment
Closed

Running install script when su to another user finds wrong home dir #5806

codecat opened this issue Jan 24, 2017 · 1 comment
Labels
Area: installer Issue or PR related to the installer Bug Something isn't working

Comments

@codecat
Copy link

codecat commented Jan 24, 2017

From an existing zsh shell, I do: su testuser which brings me into a bash shell for the user testuser.

I then run the install script from that user. It then tells me oh-my-zsh is already installed because it is found in my home dir (the user logged in before switching user):

You already have Oh My Zsh installed.
You'll need to remove /home/angelog/.oh-my-zsh if you want to re-install.

Edit: It seems like I have to unset ZSH and then run the install script for this to work. Should this be closed?

@mcornella mcornella added Bug Something isn't working Area: installer Issue or PR related to the installer labels Jun 12, 2018
@mcornella
Copy link
Member

That's an interesting side effect we hadn't considered, thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: installer Issue or PR related to the installer Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants