Woes of absolute path names in tar

Barry Shein bzs at bu-cs.BU.EDU
Sat Jun 18 04:58:47 AEST 1988


I once built a tape utility (under contract) which had the option of
passing all pathnames thru a user-provided awk program before being
used. This not only solves absolute pathname problems (trivially) but
also things like (relatively) foreign or just bogus names and the
possibility of just constructing arbitrarily fancy file selectors
(assuming that there's a way to give negative feedback, an empty
reply, just newline, would do to say "skip this file".)

Anyhow, the worst is absolute pathnames, but the suggestion above
should be little more than adding a flag and a popen() to tar.

	-Barry Shein, Boston University



More information about the Comp.unix.wizards mailing list