Hello.

I'v recently updated my tar to 1.29.
I use flexbackup and got a regression.
The cause was ignoring --no-recursion parameter.
So, I would like to report a bug.

I found, that tar behavior depends on parameter position.

Bug reproduces in the following cases:
$ echo '/run' | tar --create --files-from=- --no-recursion --file /dev/null 
--verbose
$ tar cvf /dev/null /run --no-recursion
tar descends into /run despite of no-recursion option.

Commands below works as expected. Please note --no-recursion position:
$ echo '/run' | tar --create --no-recursion --files-from=- --file /dev/null 
--verbose
$ tar cvf /dev/null --no-recursion /run

It seems that bug is reproduced only if --no-recursion is applied after 
filenames.

Could you please confirm this bug?

Thank you.

-- 

Reply via email to