mtree: Make reading additional information from the fs optional
…ip, default true on Mac OS"
…pdating; update the libarchive test data
Extend them to verify with/without forcing zip64 and with/without 'el' extension.
Interestingly, this found a bug in the write core: if the writer rejects a file, the write core would erroneously transition to state DATA.
Fix a bug that breaks compat with Info-Zip 'unzip' program.
if option 'zip:experimental' is specified. This should limit the use of this option until the final format is actually nailed down.
Fix POSIX.1e draft ACL handling on Linux systems that lack NFSv4 ACL libraries.
…d for future expansion
…nabled. Enable it in the appropriate tests. E.g., $ bsdtar cf - --format=zip --option zip:experimental . The syntax supports multiple experiments; use --option zip:experiment_la to enable just the 'LA' experiment.
… by Steven Schweda. * Name changed from 'at' to 'LA' (Local Attributes) * Trimmed 'version made by' down to just 1 byte system code
The writer now writes this extra block with every local file header; the reader recognizes it and uses it. This allows streaming extraction to properly restore file permissions and symlinks. Without this, streaming extraction of Zip archives is somewhat hobbled by the lack of full information in the local file header. Here's a detailed description of the new extra block. The details here are subject to change at any time. -Extended Local File Header Extra Field (0x7461): The following is the layout of the extended local file header "extra" block. This allows information to be included with the local file header that could previously only be stored with the central directory file header. Note: all fields stored in Intel low-byte/high-byte order. Value Size Description ----- ---- ----------- 0x7461 2 bytes Tag for this "extra" block type Size 2 bytes Size of this "extra" block Version Made By 2 bytes See "Version Made By" above Internal File Attributes 2 bytes See "Internal File Attributes" above External File Attributes 4 bytes See "External File Attributes" above This extra block should only be used with the local file header. The values stored should exactly match the corresponding values in the central directory file header.
… the history of this code.
…ve already does this).