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

Fix changing user and group not working #1571

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

voanhduy1512
Copy link
Contributor

fixes #1570

The user/group/uid/gid are parsed correctly but lost after calling copy, which leads to renderer doesn't have any info to change file permission when rendering

@voanhduy1512 voanhduy1512 requested a review from a team April 10, 2022 13:20
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 10, 2022

CLA assistant check
All committers have signed the CLA.

@eikenb
Copy link
Contributor

eikenb commented Apr 12, 2022

Hey @voanhduy1512, thanks for the fix.

There are unfortunately no testing of the config copy or really good coverage for making sure all fields on a structure are correctly copied or merged.

Copy link
Contributor

@eikenb eikenb left a comment

Choose a reason for hiding this comment

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

👍

@eikenb eikenb merged commit 2bfa3b6 into hashicorp:master Apr 12, 2022
@voanhduy1512 voanhduy1512 deleted the fix_user_permission branch April 12, 2022 02:10
This pull request was closed.
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.

Changing destination file user and group is not working
3 participants