Correctly unpack named pipe as a pipe
A free file archiver for extremely high compression
Brought to you by:
ipavlov
When packing named pipe 7zip correctly saves correct attributes in the archive (`Attributes = A prw-r--r--'), but when it comes to unpacking it, it makes it change to regular file (`-rw-r--r-- dir/pipe2').
Bsdtar unpacks it correctly, creating pipe-type file (`prw-r--r-- dir/pipe2').
So, the request is to make it work and create a pipe in such scenario.
If not, then some information about it would be appreciated.
$ mkdir -p dir
$ touch dir/file1
$ mkfifo dir/pipe2
$ ls -l dir/*
-rw-r--r-- 1 user users 0 Nov 21 09:52 dir/file1
prw-r--r-- 1 user users 0 Nov 21 09:52 dir/pipe2
$ 7zz a -t7z pipe2.7z dir > nul
$ 7zz l -slt pipe2.7z | grep -E "Path|Attr"
Path = pipe2.7z
Path = dir
Attributes = D drwxr-xr-x
Path = dir/file1
Attributes = A -rw-r--r--
Path = dir/pipe2
Attributes = A prw-r--r--
$ rm -Rf dir
$ 7zz x pipe2.7z > nul
$ ls -l dir/*
-rw-r--r-- 1 user users 0 Nov 21 09:52 dir/file1
-rw-r--r-- 1 user users 0 Nov 21 09:52 dir/pipe2
$ rm -Rf dir
$ bsdtar -xf pipe2.7z
$ ls -l dir/*
-rw-r--r-- 1 user users 0 Nov 21 09:52 dir/file1
prw-r--r-- 1 user users 0 Nov 21 09:52 dir/pipe2