Skip to content

Commit

Permalink
Merge PR #51188 into main
Browse files Browse the repository at this point in the history
* refs/pull/51188/head:
	client: use deep-copy when setting permission during make_request

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
  • Loading branch information
vshankar committed May 11, 2023
2 parents 8ce0fd1 + b88f50d commit 8151ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/MetaRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ struct MetaRequest {
void set_alternate_name(std::string an) { alternate_name = an; }
void set_string2(const char *s) { path2.set_path(std::string_view(s), 0); }
void set_caller_perms(const UserPerm& _perms) {
perms.shallow_copy(_perms);
perms = _perms;
head.caller_uid = perms.uid();
head.caller_gid = perms.gid();
}
Expand Down

0 comments on commit 8151ff9

Please sign in to comment.