summaryrefslogtreecommitdiffhomepage
path: root/images/basic/fsstress
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-01-21 15:38:22 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-21 15:47:23 -0800
commit7bf656f4c635e4acdc0a61523220dfc9a1f3d1ba (patch)
tree26ac28ebad65eebacdb081bc4f317f99307a80f0 /images/basic/fsstress
parent89df5a681c004a3772facc08de73d930636227be (diff)
Fix ownership change logic
Previously fsgofer was skipping chown call if the uid and gid were the same as the current user/group. However, when setgid is set, the group may not be the same as the caller. Instead, compare the actual uid/gid of the file after it has been created and change ownership only if needed. Updates #180 PiperOrigin-RevId: 353118733
Diffstat (limited to 'images/basic/fsstress')
0 files changed, 0 insertions, 0 deletions