Re: [Bug-tar] tar doc question: what is hard-dereference; how is it done?

2013-12-07 Thread Linda A. Walsh
I usually look in the manpage. There's not even a link to the URL, below, that you mention. So how would people know to look there, though I think the manpage is a better place for information like that. Thank you for the link -- I'd never seen that feature or switch before. Instead of going

Re: [Bug-tar] tar doc question: what is hard-dereference; how is it done?

2013-12-07 Thread Pavel Raiskup
On Saturday, December 07, 2013 00:27:44 Linda A. Walsh wrote: I usually look in the manpage. There's not even a link to the URL, below, that you mention. GNU tar upstream does not provide manual page. The page you see is probably distro-specific. E.g. in Fedora we have (mostly) generated

[Bug-tar] Bug found in tar

2013-12-07 Thread Maros Zubko
Hello guys, i hope this is the right place to report the bug in GNU tar i found today. If not, please appologize this spam. I'm testing incremental backups with tar-1.26-r1 and found that when I restoring incremental update in conjunction with -C option tar do not delete files which was

Re: [Bug-tar] Bug found in tar

2013-12-07 Thread Sergey Poznyakoff
Maros Zubko zub...@gmail.com ha escrit: i hope this is the right place to report the bug in GNU tar Yes, it is the right place. I'm testing incremental backups with tar-1.26-r1 and found that when I restoring incremental update in conjunction with -C option tar do not delete files

Re: [Bug-tar] tar doc question: what is hard-dereference; how is it done?

2013-12-07 Thread Linda A. Walsh
On 12/7/2013 9:00 AM, Sergey Poznyakoff wrote: Perhaps it might, but this would mean inventing a new archive format or extending one of the supported ones. Both ways would produce compatibility problems with prior releases of the GNU tar as well as with other tar implementations. I can't see

[Bug-tar] [PATCH] Option to detect tarbombs while extracting

2013-12-07 Thread Connor Behan
* src/common.h (one_top_level_option): New global. (one_top_level): New global. * src/extract.c (extr_init): If one_top_level_option is set, determine the name one_top_level that might have to be prepended. (extract_archive): If one_top_level_option is set, prepend one_top_level to all names that