diff options
author | Dean Deng <deandeng@google.com> | 2020-07-01 15:17:39 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-01 15:19:16 -0700 |
commit | e4b2087602a9217098559347d82d316a8cef8140 (patch) | |
tree | 998b012b77bca653ebbe48e6f0cc8f73ad6e5914 /pkg | |
parent | 6a90c88b97481a6d81b05f09d5c8ed7158225dd5 (diff) |
Use directory fds in sticky test to avoid permission issues.
After we change credentials, it is possible that we no longer have access to
the sticky directory where we are trying to delete files. Use an open fd so
this is not an issue.
PiperOrigin-RevId: 319306255
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions