There is another similar topic, but it seems constrained to
I’m getting a
parent directory is world writable but not sticky error during many operations. I’m getting it on Homebrew on macOS 10.11 and 10.12, and Linuxbrew on CentOS 7.
My Homebrew is in a non-standard location (
/usr/local/vee/homebrew), and I’ve also overridden the location of the cache (
/usr/local/vee/homebrew/Cache) and logs (same pattern).
I’m a Python dev, and don’t know how to properly debug Ruby, so I’m installing
puts all over the place to try to figure it out. My apologies for not knowing how to actually do this.
It seems like there are a few different code paths, but they all go through
Printing out the path returned from Dir.mktempdir, I get:
and a few others.
What seems very strange is that sometimes
INSTALL_RECEIPT ones go through, and sometimes not.
Does anyone have any ideas here? This seems like it started recently, maybe with changes to how atomic write works.