Hi Eric,

Here's what running these commands with the current git HEAD produces:

$ tar --create -f ../x.tar .
$ ls -l ../x.tar
-rw-r--r-- 1 gray gray 1464320 Nov 12 12:49 ../x.tar
$ rm -f ../snap
$ tar --create -g ../snap -f ../x.tar .
$ ls -l ../x.tar
-rw-r--r-- 1 gray gray 1464320 Nov 12 12:50 ../x.tar
$ tar tvf ../x.tar
drwxr-xr-x gray/gray        35 2025-11-12 12:44 ./
drwxr-xr-x gray/gray         4 2025-11-12 12:44 ./dir without brackets/
drwxr-xr-x gray/gray         4 2025-11-12 12:48 ./test [xxx]/
-rw-r--r-- gray/gray         5 2025-11-12 12:44 ./dir without brackets/t
-rwxr-xr-x gray/gray   1450544 2025-11-12 12:48 ./test [xxx]/b
$ cat ../snap
GNU tar-1.35.90-2
1762944656846071932017629445082381104936451213934894./test 
[xxx]Yb017629442778000878556451213934892.Ddir without bracketsDtest 
[xxx]017629442978310898236451213934893./dir without bracketsYt

As far as I can tell, everything is as expected.

Regards,
Sergey

Reply via email to