find . -type l -exec ls -l {} \; and check that no link begins with /home (or what ever absolute path).
You can run this command on /usr to see some examples: [EMAIL PROTECTED]:/usr$ find . -type l -exec ls -l {} \; lrwxrwxrwx 1 root root 12 2006-01-17 20:42 ./X11R6/lib/libXt.so.6 -> libXt.so.6.0 lrwxrwxrwx 1 root root 16 2006-01-17 20:42 ./X11R6/lib/X11/xserver -> /etc/X11/xserver lrwxrwxrwx 1 root root 12 2006-01-17 20:42 ./X11R6/lib/X11/xkb -> /etc/X11/xkb lrwxrwxrwx 1 root root 21 2006-01-17 20:42 ./X11R6/lib/X11/app-defaults -> /etc/X11/app-defaults lrwxrwxrwx 1 root root 16 2006-01-17 20:41 ./X11R6/lib/X11/rgb.txt -> /etc/X11/rgb.txt lrwxrwxrwx 1 root root 32 2004-10-21 00:12 /X11R6/lib/X11/icons/default/index.theme -> /etc/alternatives/x-cursor-theme lrwxrwxrwx 1 root root 15 2006-01-17 20:43 ./X11R6/lib/X11/rstart -> /etc/X11/rstart lrwxrwxrwx 1 root root 53 2006-02-18 12:04 /X11R6/lib/X11/fonts/Type1/a010013l.pfb -> ./../../../../share/fonts/type1/gsfonts/a010013l.pfb lrwxrwxrwx 1 root root 53 2006-02-18 12:04 /X11R6/lib/X11/fonts/Type1/a010015l.pfb -> ./../../../../share/fonts/type1/gsfonts/a010015l.pfb Ori Idan wrote: > I have a source tree which some of the files are actually symbolic links > to other files in the same tree. > > I compress the tree using tar cjf file.tar.bz2 dir > > When I extract the files to the same machine everything works fine. > > When I extract the files to another machine with same directory > strucuture (the directories before the source tree) everything works > fine but extracting it on another machine with different path it seems > the symbolic links are not created. > > > For example: > > On my machine the source tree is at: /home/ori/stree > > On the other machine the source tree is at /home/user1/stree > > > If on the other machine I would extract it to /home/ori, everything > works fine. > > > It seems as if tar works with absolute path names for the symbolic links. > > > Anyone knows how to tell it to work with relational names? > > -- Lior Kaplan [EMAIL PROTECTED] http://www.Guides.co.il Debian GNU/Linux unstable (SID) GPG fingerprint: C644 D0B3 92F4 8FE4 4662 B541 1558 9445 99E8 1DA0 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]