[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Bug Report: tar 1.15.1: option --listed-incremental does not s
From: |
Jorge Rodriguez |
Subject: |
[Bug-tar] Bug Report: tar 1.15.1: option --listed-incremental does not store symbolic links pointing outside the filsystem |
Date: |
Thu, 23 Jun 2005 15:07:32 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.6) Gecko/20050319 |
Hello,
I think I found a severe bug in the tar program. Is this the way to
report the bug?
The bug is very easy to reproduce, see the small documentation. My tests
showed that it happens only with large Filesystems of about 60 GB,
smaller filsystems do well.
With kind regards
Jorge Rodriguez
### Bug Report
### tar --listed-incremental does not store symbolic links pointing outside the
filsystem
#
### This is the directoty which was backed up
### it has several symbolic links pointing outside the filesystem
#
# total 13
# drwxr-xr-x 7 root root 480 Jun 17 14:58 .
# drwxr-xr-x 36 root root 880 Jun 17 14:56 ..
# drwxr-xr-x 5 win users 200 Jun 17 14:59 familie
# lrwxrwxrwx 1 root root 7 Jun 17 14:59 mbin -> sw/mbin
# drwxr-xr-x 31 win users 12680 Jun 17 14:59 midi
# lrwxrwxrwx 1 root root 7 Jun 17 14:59 mp3 -> /mm/mp3
# lrwxrwxrwx 1 root root 11 Jun 17 14:59 mp3_all -> /mm/mp3_all
# lrwxrwxrwx 1 root root 15 Jun 17 14:59 mp3_deutsch -> /mm/mp3_deutsch
# lrwxrwxrwx 1 root root 17 Jun 17 14:59 mp3_sonstiges ->
/mm/mp3_sonstiges
# lrwxrwxrwx 1 root root 16 Jun 17 14:59 mp3_unsorted ->
/mm/mp3_unsorted
# lrwxrwxrwx 1 root root 14 Jun 17 14:59 mp3_videos -> /mm/mp3_videos
# lrwxrwxrwx 1 root root 12 Jun 17 14:59 pcbackup -> /nb/pcbackup
# drwxr-xr-x 3 win users 200 Jun 17 14:59 system
# lrwxrwxrwx 1 root root 8 Jun 17 14:59 tools -> sw/tools
# lrwxrwxrwx 1 root root 7 Jun 17 14:59 vcd -> /nb/vcd
# lrwxrwxrwx 1 root root 10 Jun 17 14:59 videos -> /mm/videos
# lrwxrwxrwx 1 root root 16 Jun 17 14:59 videos_sonst ->
/mm/videos_sonst
#
#
### This is the directory restored
### All the links pointig outside the filsystems are broken
### links pointing into the filesystem are ok
#
# total 41
# drwxr-xr-x 23 root root 960 Jun 17 15:38 .
# drwxr-xr-x 36 root root 880 Jun 17 14:56 ..
# drwxr-xr-x 5 win users 200 Jun 17 15:38 familie
# lrwxrwxrwx 1 root root 7 Jun 17 15:38 mbin -> sw/mbin
# drwxr-xr-x 31 win users 832 Jun 13 2003 midi
# ---------- 1 root root 0 Jun 17 15:38 mp3
# ---------- 1 root root 0 Jun 17 15:38 mp3_all
# ---------- 1 root root 0 Jun 17 15:38 mp3_deutsch
# ---------- 1 root root 0 Jun 17 15:38 mp3_sonstiges
# ---------- 1 root root 0 Jun 17 15:38 mp3_unsorted
# ---------- 1 root root 0 Jun 17 15:38 mp3_videos
# ---------- 1 root root 0 Jun 17 15:38 pcbackup
# drwxr-xr-x 3 win users 72 Jan 14 09:38 system
# lrwxrwxrwx 1 root root 8 Jun 17 15:38 tools -> sw/tools
# ---------- 1 root root 0 Jun 17 15:38 vcd
# ---------- 1 root root 0 Jun 17 15:38 videos
# ---------- 1 root root 0 Jun 17 15:38 videos_sonst
### this is the backup script:
#
### Save the filsystem
rm -f /voll/u.0.tar /voll/u.0.snap
cd /u
tar -cf /voll/u.0.tar -g /voll/u.0.snap .
### Read the backup
cd /new_u
tar -xf /voll/u.0.tar
:w
- [Bug-tar] Bug Report: tar 1.15.1: option --listed-incremental does not store symbolic links pointing outside the filsystem,
Jorge Rodriguez <=