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

Allow specifying which user the stack files should belong to #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

RichyHBM
Copy link

This PR addresses #80 where any new stacks are created under the roots ownership

@Zaid-maker
Copy link
Contributor

Fix Eslint errors!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to change the owner if the stack already existed, potentially with different owner?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe nitpicky but what happens when we create a new stack and writeFileSync throws an error (not enough space)? Arn't we left with a new stack folder still owned by root?

Copy link

@jamescalderon jamescalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes worked for me - especially useful when you have host environment variables under the current user - it makes it possible to not have to run a BASH script to retrieve certain auth credentials.

@gdiciancia
Copy link

can this be merged soon please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants