Ticket #792 (closed defect: fixed)
[PATCH] rmdirRecursive follows symlinks
| Reported by: | dustin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.2 |
| Version: | 0.7.12 | Keywords: | |
| Cc: |
Description
If you have a symlink to a file you don't own, rmdirRecursive (buildbot/slave/commands/utils.py) will try to chmod it, and fails. I think we should be using lchmod, but that's only in Python 2.6.. Maybe we should just be using shutil.rmtree on POSIX?
Attachments
Change History
Changed 3 years ago by ccomb
-
attachment
patch.diff
added
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
a patch to avoid recursing in symlinks