Closed stanhu closed 2 years ago
Hi @stanhu,
Ah this was to fix the issue you save when running as part of the CI? Nice catch. I guess, trying to mitigate a potential TOCTTOU vulnerability is not really an issue for us during a build especially.
Nice catch and thank you for fixing!
Updated:
For reference: https://github.com/kwilczynski/ruby-magic/pull/33#issuecomment-1072135808
@kwilczynski Yes, exactly. I think #33 is ready to merge.
This was preventing files from being cleaned up in a Docker image when building native gems. Let's just drop this for simplicity.