We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you use untildify in a Node process started as a root, it expands to /root/. Is there a way to expand to a user's home instead?
/root/
One way I can think of is to use process.env.SUDO_USER
process.env.SUDO_USER
The text was updated successfully, but these errors were encountered:
You can also downgrade from root. I assume you're using root to be able to use port 80.
#1 could be a solution for you as you could pass in process.env.SUDO_USER.
I don't think this package should have special handling for root. Some users might actually want the root home directory.
Sorry, something went wrong.
No branches or pull requests
If you use untildify in a Node process started as a root, it expands to
/root/
. Is there a way to expand to a user's home instead?One way I can think of is to use
process.env.SUDO_USER
The text was updated successfully, but these errors were encountered: