summaryrefslogtreecommitdiffhomepage
path: root/pkg/tmutex/tmutex.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-12-05 14:31:07 -0800
committerShentubot <shentubot@google.com>2018-12-05 14:31:58 -0800
commit9f64e64a6ee1fe44a05ed57893785fa9064125e1 (patch)
tree3e37767de300d950f17d053bcf283b3c39db2543 /pkg/tmutex/tmutex.go
parent23438b36327524ba3e71b6416d71863fb4dfa166 (diff)
Enforce directory accessibility before delete Walk
By Walking before checking that the directory is writable and executable, MayDelete may return the Walk error (e.g., ENOENT) which would normally be masked by a permission error (EACCES). PiperOrigin-RevId: 224222453 Change-Id: I108a7f730e6bdaa7f277eaddb776267c00805475
Diffstat (limited to 'pkg/tmutex/tmutex.go')
0 files changed, 0 insertions, 0 deletions