$ mkdir -p a/b
$ ln -s b a/c
$ tar --remove-files -czf a.tar.gz a
tar: /home/build/tmp/a: Cannot rmdir: Directory not empty
tar: Exiting with failure status due to previous errors

Thanks for reporting. Please try the attached patch.

The patch works fine for me.
Thank you, great job!

/Alexander.


Reply via email to