[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar (GNU tar) 1.29 bug in --no-recursion
From: |
N |
Subject: |
[Bug-tar] tar (GNU tar) 1.29 bug in --no-recursion |
Date: |
Fri, 31 Mar 2017 14:41:20 +0300 |
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.
--
- [Bug-tar] tar (GNU tar) 1.29 bug in --no-recursion,
N <=