bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] bug in gtar 1.13.25 with deep directory structure


From: Josef . Bauer
Subject: Re: [Bug-tar] bug in gtar 1.13.25 with deep directory structure
Date: Wed, 12 Jan 2005 22:45:16 +0100

 Josef> Until now I did not test this when creating the achieve with
 Josef> tar 1.15.1.

 Sergey> Please do test it.

In order to get my backup stable I imediately removed the
index_files/index_files/... structure and now I cannot reproduce the
error.

Trying to reproduce the problem I think I produced some error possibly
related to the problem:

# tar --version
tar (GNU tar) 1.15.1
# pwd
/tmp/rmme
# find o/index_files/index_files | tail -1 | wc  
      1       1    4094
# ls -la o/zzz 
total 12
drwxr-xr-x  2 root     root  4096 Jan 12 21:59 .
drwx------  4 rsr_stud tsn53 4096 Jan 12 22:04 ..
-rw-r--r--  1 root     root     8 Jan 12 21:59 msg.txt
# rm -f try.snar; tar -g try.snar -czf try.tgz o; tar  -tzf try.tgz | grep 
msg.txt
o/zzz/msg.txt
# (cd `find o/index_files/index_files/ | tail -1`; touch 1)
cd: could not get current directory: getcwd: cannot access parent directories: 
File name too long
cd: could not get current directory: getcwd: cannot access parent directories: 
File name too long
job-working-directory: could not get current directory: getcwd: cannot access 
parent directories: File name too long
# rm -f try.snar; tar -g try.snar -czf try.tgz o; tar  -tzf try.tgz | grep 
msg.txt
#

For what reason does msg.txt not show up any more? 

Maybe there is a problem with file names being exactly 4096 bytes
long?

If I 'touch 12' in the very deep structure tar stops creating the
archieve with an error 'File name too long'.

Best regards

Josef


PS: to tired to subscribe the list now ... maybe tomorrow




reply via email to

[Prev in Thread] Current Thread [Next in Thread]