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

CLI: Fix Mac tmp dir access #2269

Merged
merged 1 commit into from
Aug 30, 2016
Merged

CLI: Fix Mac tmp dir access #2269

merged 1 commit into from
Aug 30, 2016

Conversation

TylerJewell
Copy link

What does this PR do?

If you install the CLI into /usr/local/bin, which is a directory that requires root access to create & write files, the CLI will fail unless you run it as root. This change writes all temporary files to $PWD, which is where the current user should have write access to.

This allows users to install the CLI into a directory that has a path and use it as another user.

@bmicklea
Copy link

+1

@TylerJewell TylerJewell merged commit 61e950b into master Aug 30, 2016
@TylerJewell TylerJewell added the kind/bug Outline of a bug - must adhere to the bug report template. label Aug 30, 2016
@TylerJewell TylerJewell added this to the 4.8.0 milestone Aug 30, 2016
@TylerJewell TylerJewell self-assigned this Aug 30, 2016
@TylerJewell TylerJewell deleted the cli-fixup branch September 1, 2016 13:23
@bmicklea bmicklea mentioned this pull request Sep 1, 2016
57 tasks
riuvshin pushed a commit that referenced this pull request Sep 6, 2016
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants