3 ms·
If I'm reading this right, using --no-overwrite-dir should have prevented this, I think. I'd still extract to a local folder as nonroot, though, so still the r
by silisili 2y ago
If I'm reading this right, using --no-overwrite-dir should have prevented this, I think.
I'd still extract to a local folder as nonroot, though, so still the right conclusion.
- vorakl 2y ago--no-overwrite-dir (Preserve metadata of existing directories) This is a really good point! It solves the main problem. I'll add it to the article. Although that's what, unfortunately, is set by default (at least in GNU tar): --overwrite-dir (Overwrite metadata of existing directories when extracting (default).)