Re: [Bug-tar] Tarring with --files-from/-T adds files multiple times

2009-07-30 Thread Sergey Poznyakoff
Tyson Tucker tyson.tuc...@gmail.com ha escrit: I haven't figured out what makes the duplicate files/directories special, but some are duplicated up to three times in the tar file. I've tested it on versions 1.17 and 1.22 on Solaris and 1.22 on Linux. To reproduce: find

Re: [Bug-tar] Extracting Archives in Windows

2009-07-30 Thread Sergey Poznyakoff
blackhol...@suddenlink.net ha escrit: I was wondering if somebody could help me with the syntax for extracting an archive with an absolute path name in Windows. If I change to the directory where the file is I can extract it, but if I try to call the tar command with the path I always get an

Re: [Bug-tar] Please Help

2009-07-30 Thread Sergey Poznyakoff
mehdi farokhi mehdi.faro...@gmail.com ha escrit: # tar -xf /dev/st0 tar: Unexpected EOF in archive This can happen if you are trying to read a multivolume archive without the `-M' option. Try tar -M -xf /dev/st0 tar: home/shares/SupplyChain/jghods/DESKTOP 111: implausibly old time

Re: [Bug-tar] reg tar 1.14

2009-07-30 Thread Sergey Poznyakoff
Gargi Thakur gargithaku...@gmail.com ha escrit: - Check version of tar. The version may not support files more than 2GB. Tar imposes no limits on the size of files it can handle. However, such limits are often imposed by file system. Additionally, some tar archive formats also limit the

[Bug-tar] Can't get --owner/--group to work when extracting (GNU tar 1.20)

2009-07-30 Thread Amit Dor-Shifer
amit0 ~ # tar --version tar (GNU tar) 1.20 I read in the manpage: QUOTE --owner USER change owner of extraced files to USER QUOTE/ Nevertheless I can't get --owner and --group to work when extracting an archive. Files in archive are owned by root: amit0 ~ # mkdir

Re: [Bug-tar] Can't get --owner/--group to work when extracting (GNU tar 1.20)

2009-07-30 Thread Sergey Poznyakoff
Amit Dor-Shifer ami...@oversi.com ha escrit: amit0 ~ # tar --version tar (GNU tar) 1.20 I read in the manpage: QUOTE --owner USER change owner of extraced files to USER The manpage is wrong. The --owner option works only when creating archives. See the GNU tar

Re: [Bug-tar] bug with tar and preserving UID and GID over NFS

2009-07-30 Thread Sergey Poznyakoff
ajmcello ajmcell...@gmail.com ha escrit: Hi. I thought I would forward this to the tar group. Is it possible to have tar fallback to UID and GID 0 or the owner and group of the person running tar in the event that it cannot change it, particularly over NFS? Currently it is not

[Bug-tar] tar fails to preserve hard links with --remove-files

2009-07-30 Thread Carl Worth
A user of Debian noticed that tar (1.22) does not always preserve hard links when creating an archive with the --remove-files option. Ted Ts'o provided the following analysis: On Sun, 13 Apr 2003 15:45:27 -0400, Theodore Ts'o ty...@mit.edu wrote: I'm pretty sure, by the way, that the problem is

Re: [Bug-tar] hard links and --transform

2009-07-30 Thread Marius Tolzmann
Hi there.. i just stumbled over the same problem when transforming hardlinks.. the following short patch fixes the problem for me.. (without applying the previous patch) since i haven't found a final fix here is my solution just for your information 8).. grettings from berlin/germany..

Re: [Bug-tar] hard links and --transform

2009-07-30 Thread Sergey Poznyakoff
Hi Marius, i just stumbled over the same problem when transforming hardlinks.. the following short patch fixes the problem for me.. (without applying the previous patch) Thanks for the suggestion. since i haven't found a final fix here is my solution just for your information 8).. The

Re: [Bug-tar] tar fails to preserve hard links with --remove-files

2009-07-30 Thread Sergey Poznyakoff
Carl Worth cwo...@cworth.org ha escrit: A user of Debian noticed that tar (1.22) does not always preserve hard links when creating an archive with the --remove-files option. Thanks for reporting. On Sun, 13 Apr 2003 15:45:27 -0400, Theodore Ts'o ty...@mit.edu wrote: I'm pretty sure, by the

Re: [Bug-tar] tar fails to preserve hard links with --remove-files

2009-07-30 Thread Carl Worth
On Thu, 2009-07-30 at 23:52 +0300, Sergey Poznyakoff wrote: Thanks for reporting. Thank you, Sergey. And thanks for the quick reply. This one is mostly OK, except that I don't see any reason to test the remove_files_option value in file_count_links. This will unnecessarily inflate the