A bit of a lame question, but the answer just eludes me at the moment.
Say someone gives me a tarbomb, by which I mean a .tar file that contains files that will be (i) a nuisance if extracted into the current directory or (ii) contains directives to extract files to absolute paths.
q: Is the second case a possibility (nowadays)? (Inspecting the whole thing in advance might be at the least a pain or easily forgotten or at most well-nigh impossible if the listing is huge.)
q: What is the best thing to do to guard against any risk of problems from absolute paths? - tips for good switches, for example?
As for the first case, you could say it is your own fault, and you should have made a suitable subdirectory first. However, for convenience, are there any switches to automate this, to force everything to go into relative paths that are below "./eg_sub/", say: ie (at least) one level below the current directory?
Perhaps I should write a tool if need be, to make this automatic and safe.