Am Samstag, 12. Mai 2007 13:04 schrieb Mike Hommey: > On Sat, May 12, 2007 at 12:27:46PM +0200, Rainer Dorsch <[EMAIL PROTECTED]> > wrote: (...) > > > When I copy the xulrunner directory additionally > > to /mnt/hda1/usr/share/xulrunner epiphany-browser comes up and runs. > > > > I am even more surprised about that than about the not working relative > > link. I am missing something here.... Any hints are welcome. > > It's actually pretty simple: > There are several links from /usr/lib/xulrunner to /usr/share/xulrunner, > and they are relative. So /usr/lib/xulrunner/res points to > ../../share/xulrunner/res.
ok, I see. > What happens is that the relative link works from the location of the > link. So, since /usr/lib/xulrunner/res is actually > /mnt/hda7/usr/lib/xulrunner/res, from there, ../../share/xulrunner/res > is /mnt/hda7/usr/share/xulrunner/res. I am quite surprise about that (even somewhat disappointed). At least that requires thinking carefully if you are in a linked directory (somewhere in your path) when doing a link. > If it works in the shell, it's probably because of some corner cases. if > you just ls /usr/lib/xulrunner/res/ it should not work. You are right yes. I was thinking that the shell knows the current path, e.g. [EMAIL PROTECTED]:~/tmp.nobackup$ mkdir a [EMAIL PROTECTED]:~/tmp.nobackup$ cd a [EMAIL PROTECTED]:~/tmp.nobackup/a$ mkdir b [EMAIL PROTECTED]:~/tmp.nobackup/a$ cd .. [EMAIL PROTECTED]:~/tmp.nobackup$ touch test.file [EMAIL PROTECTED]:~/tmp.nobackup$ ln -s a/b c [EMAIL PROTECTED]:~/tmp.nobackup$ cd c [EMAIL PROTECTED]:~/tmp.nobackup/c$ ls ../test.file ls: ../test.file: Datei oder Verzeichnis nicht gefunden [EMAIL PROTECTED]:~/tmp.nobackup/c$ ls ../../test.file ../../test.file If the shell would not be aware of the current path (symlinked), it could not do that correctly. [EMAIL PROTECTED]:~/tmp.nobackup/c$ cd .. [EMAIL PROTECTED]:~/tmp.nobackup$ ls test.file test.file [EMAIL PROTECTED]:~/tmp.nobackup$ ...well at least I learnt something here for me: use symlinks with care in future. I am going to move my complete /usr to /mnt/hda1 and the mount it directly as /usr. That should make things working again. Do you think it is worthwile to open a bug / wishlist report (where?) that epiphany dies not with a segfault, if a file is not there? That was great support. Thank you very much. Thanks, Rainer -- Rainer Dorsch Lärchenstr. 6 D-72135 Dettenhausen 07157-734133 email: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/