Attached patch adds support for storing directories (setting appropriate file type via LinkFlag) and support for storing symlinks in TAR. For symlinks only FPC unix implementation is included. You need to implement AbCreateSymlink and AbReadSymlink in AbUtils.pas for other platforms.
Support directory and symlink file type in TAR