commit | 0aa7ebfdbde020770ab8225c30cf58bed934a2d7 | [log] [tgz] |
---|---|---|
author | Ben Pastene <bpastene@chromium.org> | Tue Jan 08 15:18:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 08 15:18:52 2019 |
tree | 3749f5721ec679353df5fb9cba6c4f23ed8707cf | |
parent | 743a3115ead8968c1a70dd964f96872b69733132 [diff] |
swarming: Remove sticky bits from caches when calling make_tree_deleteable(). If a file/dir is owned by root and has the sticky bit set, only root can remove it. If such a file is present in a bot's cache, the bot is unable to delete that cache if the bot runs as non-root. This change will remove all sticky bits from caches when the bot tries deleting things, which should allow it to do so. R=maruel Bug: 919599 Change-Id: Iba741fc7a2935d092dbed7b1de6d8bb1b578a04b Reviewed-on: https://chromium-review.googlesource.com/c/1399144 Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py Cr-Mirrored-Commit: bfe82ee618c49228ce6c6c3035973da47d783d0a
This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.
To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.
This project is licensed under Apache v2.0 license. See LICENSE for details.