Skip to content

Fix changing user and group not working#1571

Merged
eikenb merged 1 commit into
hashicorp:masterfrom
voanhduy1512:fix_user_permission
Apr 12, 2022
Merged

Fix changing user and group not working#1571
eikenb merged 1 commit into
hashicorp:masterfrom
voanhduy1512:fix_user_permission

Conversation

@voanhduy1512
Copy link
Copy Markdown
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
Copy Markdown

hashicorp-cla commented Apr 10, 2022

CLA assistant check
All committers have signed the CLA.

@eikenb
Copy link
Copy Markdown
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
Copy Markdown
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
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