Hi, I'm facing a segmentation fault with tar 1.27.1 on solaris 11.1:
$ ./call_bug.sh [...current_dir...]/test ./ ./bar ./foo ./call_bug.sh: line 5: 15341 Segmentation Fault (core dumped) tar --remove-files --totals -czvf ../package.tar.gz . I guess --remove-files cannot be used anymore when the input is the current directory. This issue did not occur with tar 1.15 on solaris 10. stack trace: (gdb) bt #0 0x000346fc in tar_dirname () at misc.c:1008 #1 0x0003ea0c in flush_deferred_unlinks (force=force@entry=true) at unlink.c:92 #2 0x0003eb3c in finish_deferred_unlinks () at unlink.c:147 #3 0x00025b50 in create_archive () at create.c:1410 #4 0x00069624 in main (argc=<optimized out>, argv=<optimized out>) at tar.c:2673 call_bug.sh: mkdir test cd test touch foo touch bar tar --remove-files --totals -czvf ../package.tar.gz . So you see, it's really simple to reproduce. There's an easy workaround, of course (don't use --remove files). Thorsten